Commit graph

  • 2f5a1c1f67
    add docs for 0.12 Simon Cruanes 2022-03-30 12:12:59 -04:00
  • 3c84331477 deploy: 5f59174087 c-cube 2022-03-29 20:42:55 +00:00
  • 5f59174087
    add html.to_string_l Simon Cruanes 2022-03-29 16:42:02 -04:00
  • 091f2f7ff2
    vendor curly directly, bypass opam Simon Cruanes 2022-03-29 12:47:35 -04:00
  • 2bb6771d4f deploy: b61c03d379 c-cube 2022-03-20 03:07:21 +00:00
  • b61c03d379
    html: hide some utils in a Helpers_ module Simon Cruanes 2022-03-19 23:00:42 -04:00
  • f1831f364e
    add dep on seq Simon Cruanes 2022-03-18 21:45:47 -04:00
  • 0a0a4a1c06 deploy: 4aba0654b0 c-cube 2022-03-19 01:33:13 +00:00
  • 4aba0654b0
    change api for Html.nary'; better newlines in output Simon Cruanes 2022-03-18 21:32:11 -04:00
  • 48d1b7019f deploy: 030d71ad72 c-cube 2022-03-18 03:24:49 +00:00
  • 030d71ad72
    update test Simon Cruanes 2022-03-17 23:23:59 -04:00
  • 8f32b67a03
    factor code generation; fix bug in dir/ Simon Cruanes 2022-03-17 23:02:01 -04:00
  • d5c828978d
    fixes in dir module Simon Cruanes 2022-03-17 22:42:36 -04:00
  • 50bd9e7021 deploy: 6706589c62 c-cube 2022-03-18 02:36:21 +00:00
  • 6706589c62
    increase test coverage to include vfs and <pre> Simon Cruanes 2022-03-17 22:34:50 -04:00
  • 7fdb420eb0
    fix(html): ensure that <pre> is printed without spurious newlines Simon Cruanes 2022-03-17 22:34:29 -04:00
  • efb653a2d6
    refactor(dir): use Html module to list directory content Simon Cruanes 2022-03-17 22:34:10 -04:00
  • 15623afa75 deploy: 6cf05bc733 c-cube 2022-03-17 02:53:38 +00:00
  • 6cf05bc733
    doc Simon Cruanes 2022-03-16 22:52:53 -04:00
  • 1dee4bcfcb
    upd Simon Cruanes 2022-03-16 22:50:42 -04:00
  • f560e1c3a0 deploy: 5a156490ab c-cube 2022-03-17 02:46:20 +00:00
  • 40f08a28e7
    point to dev doc Simon Cruanes 2022-03-16 22:41:24 -04:00
  • 5a156490ab
    workflow to build dev docs Simon Cruanes 2022-03-16 22:40:58 -04:00
  • 46cb25e5b8
    exercize if_ in a test Simon Cruanes 2022-03-16 22:38:46 -04:00
  • b88c8bbda1
    improve html combinators, add if_ flag Simon Cruanes 2022-03-16 22:37:34 -04:00
  • 5c1a7310ee
    add regression test for html Simon Cruanes 2022-03-16 22:27:30 -04:00
  • b387aa731d
    add a HTML module, with codegen to produce the combinators. Simon Cruanes 2022-03-16 22:26:54 -04:00
  • 533a42a661 details Simon Cruanes 2022-03-15 23:53:12 -04:00
  • d5f9eacc81 split code into more modules Simon Cruanes 2022-03-15 22:59:34 -04:00
  • ba99089505
    details Simon Cruanes 2022-03-15 23:53:12 -04:00
  • 90f06280c1
    split code into more modules Simon Cruanes 2022-03-15 22:59:34 -04:00
  • c68ec5c2f6
    Merge branch 'wip-virtual-dir' Simon Cruanes 2022-03-15 21:36:51 -04:00
  • 70cf95d906
    tweak script Simon Cruanes 2022-03-08 11:16:16 -05:00
  • a7f0039903
    fix CI wip-virtual-dir Simon Cruanes 2022-03-04 13:51:07 -05:00
  • d36011bce6
    fake vfs module on non linux Simon Cruanes 2022-03-04 00:20:49 -05:00
  • 7347f55d14
    try to fix CI Simon Cruanes 2022-03-03 22:24:20 -05:00
  • fd305b6173
    detail Simon Cruanes 2022-03-03 22:20:15 -05:00
  • f40320a059
    wip: fix CI Simon Cruanes 2022-03-03 22:19:48 -05:00
  • 6a7164810b
    missing option in vfs-pack Simon Cruanes 2022-03-03 22:16:50 -05:00
  • 93ef8c689a
    doc: add section on VFS in the readme Simon Cruanes 2022-03-03 22:14:59 -05:00
  • 759995b9d5
    add a VFS in examples/echo.ml Simon Cruanes 2022-03-03 22:14:44 -05:00
  • f84b2df97f
    vendor curly (for vfs-pack) Simon Cruanes 2022-03-03 22:14:10 -05:00
  • 60d69a99a9
    fixup Simon Cruanes 2022-03-03 22:14:03 -05:00
  • 2a3554c941
    feat: add tiny-httpd-vfs-pack program Simon Cruanes 2022-03-03 22:07:35 -05:00
  • 8aff791a27
    feat: full VFS and embedded FS implementations Simon Cruanes 2022-03-03 22:07:08 -05:00
  • fb1b1f9975
    fix bug in SSE Simon Cruanes 2022-03-03 15:20:14 -05:00
  • 10ade90dfd
    wip Simon Cruanes 2022-03-01 16:59:23 -05:00
  • 0078d91672
    feat: add Tiny_httpd_dir.VFS to emulate file systems Simon Cruanes 2022-03-01 16:53:06 -05:00
  • cdd7df29ac
    prevent Tiny_httpd_dir.config from being built by hand; provide builder Simon Cruanes 2022-03-01 16:24:40 -05:00
  • 105722f6b6
    wip tmp-refactor-2022-02-16 Simon Cruanes 2022-02-16 10:20:51 -05:00
  • cafa2a5420 Show small example of socket activation Yawar Amin 2022-02-12 15:44:42 -05:00
  • 575e85774d
    Show small example of socket activation Yawar Amin 2022-02-12 15:44:42 -05:00
  • 4aade13cec
    fix tests on non-linux v0.11 Simon Cruanes 2022-01-04 20:43:21 -05:00
  • 111e2da3ad
    fix test -_- Simon Cruanes 2022-01-04 09:51:11 -05:00
  • 5b00189e14
    use separate ports Simon Cruanes 2022-01-04 00:30:20 -05:00
  • 3d8e9b0bba
    Merge pull request #42 from smorimoto/gha Simon Cruanes 2022-01-04 00:31:00 -05:00
  • cce0c51409
    use separate ports wip-fix-ci-2022-01-03 Simon Cruanes 2022-01-04 00:30:20 -05:00
  • 008eae1236 Cleanup GitHub Actions workflow Sora Morimoto 2022-01-04 13:54:53 +09:00
  • d993f93561
    ci Simon Cruanes 2022-01-03 22:35:57 -05:00
  • 6edd7b4372
    test dep only on linux Simon Cruanes 2022-01-03 22:01:26 -05:00
  • e4bd279403
    Update main.yml Kate 2022-01-01 20:16:33 +00:00
  • ae0162beda
    Make CI closer to what users would do Kate 2022-01-01 13:37:21 +00:00
  • 0bb7094ef8
    doc: update changes Simon Cruanes 2021-12-31 20:50:51 -05:00
  • 3a7019c7cb
    prepare for 0.11 Simon Cruanes 2021-12-31 20:44:42 -05:00
  • 4aaa61f622
    add ?get_time_s param to create Simon Cruanes 2021-12-31 20:43:20 -05:00
  • 490bb25cda Merge branch 'master' into cookie craff 2021-12-20 07:05:55 -10:00
  • e225212dba
    more doc Simon Cruanes 2021-12-20 10:04:09 -05:00
  • 5735f813a5
    restore previous behavior for http_of_dir Simon Cruanes 2021-12-20 09:59:31 -05:00
  • bf2bf6832d
    code cleanup Simon Cruanes 2021-12-20 09:53:19 -05:00
  • bfee36572c
    Merge pull request #37 from craff/static Simon Cruanes 2021-12-20 09:52:29 -05:00
  • e1ddb96e7c
    Update src/Tiny_httpd_dir.ml Simon Cruanes 2021-12-20 09:52:23 -05:00
  • ce4b5f0a11
    some small code improvements Simon Cruanes 2021-12-20 09:49:44 -05:00
  • 19ab478d9c filter_map is only available in recent Stdlib craff 2021-12-19 22:30:18 -10:00
  • 961eb6af65 unset cookies needs the original value and cookie's key are case sensitive craff 2021-12-19 21:27:32 -10:00
  • 8713cdb893 set-cookie in Headers and not Response craff 2021-12-19 21:07:47 -10:00
  • 6f25c632f1 Use Unix.tm for date craff 2021-12-19 20:59:43 -10:00
  • 1e937a8593 Minimum managment of cookies craff 2021-12-19 20:33:39 -10:00
  • fe0da80f2f Documentation in Tiny_httpd_dir.mli + new dir mode IndexAndLists craff 2021-12-19 19:30:25 -10:00
  • 7e236058f7 remove mem cache ... not really usefull to gain speed craff 2021-12-19 00:58:03 -10:00
  • 6dceabdd6c Revert "use bigstring and map_file" craff 2021-12-19 00:54:17 -10:00
  • f08406c1ae Revert "close fd correctly" craff 2021-12-19 00:53:54 -10:00
  • 912c7b1fd7 close fd correctly craff 2021-12-19 00:49:09 -10:00
  • 3067120539 use bigstring and map_file craff 2021-12-19 00:29:56 -10:00
  • 0a31d09601 added mem_cache craff 2021-12-17 22:13:31 -10:00
  • 8fc22ff07e ignore empty string in exact_path craff 2021-12-17 22:08:01 -10:00
  • 613c9ae7c3 Add a module to server static files craff 2021-12-17 18:55:06 -10:00
  • c66b2f20df
    Merge pull request #31 from c-cube/keepalive-handle Simon Cruanes 2021-12-17 20:58:41 -05:00
  • a5e2e47b17
    Also close connection if response's headers contains connection: close (#33) Christophe Raffalli 2021-12-16 05:54:48 -10:00
  • 0c94a8aab0
    tiny refactor Simon Cruanes 2021-12-12 20:52:23 -05:00
  • b684835901
    store http version in request, and close connections when needed Simon Cruanes 2021-12-12 20:51:45 -05:00
  • fe36acf198
    details Simon Cruanes 2021-12-16 10:54:11 -05:00
  • b5e50fac59
    Merge pull request #27 from c-cube/wip-middleware Simon Cruanes 2021-12-16 10:52:34 -05:00
  • b7fd8da9a0
    Merge pull request #32 from craff/wip-middleware Simon Cruanes 2021-12-16 09:12:10 -05:00
  • 51be9c0c8f real fix in echo! craff 2021-12-15 20:19:42 -10:00
  • ffc18a5617 fix in echo craff 2021-12-15 20:13:32 -10:00
  • accdb1e0ac
    Update src/Tiny_httpd.mli Simon Cruanes 2021-12-16 00:26:18 -05:00
  • 7b14cbd6a7
    rename time into start_time Simon Cruanes 2021-12-16 00:26:07 -05:00
  • 893475734b Also close connection if response's headers contains connection: close craff 2021-12-15 18:39:09 -10:00
  • 672e33c827 detailed time in echo example craff 2021-12-15 18:18:52 -10:00
  • 4770e3e729 Timing start of request craff 2021-12-15 18:14:17 -10:00