Commit graph

  • 25eb8b765a rename IO.{In,Out}_channel to avoid confusion Simon Cruanes 2023-08-08 12:41:42 -04:00
  • 6b29bd9472 deploy: 3802aad11f c-cube 2023-08-08 16:54:46 +00:00
  • aa8cbb066a
    github CI Simon Cruanes 2023-08-08 12:49:15 -04:00
  • 5f9ed7962f deploy: 1b7939c17a c-cube 2023-08-08 16:41:52 +00:00
  • 2378271ffb
    rename IO.{In,Out}_channel to avoid confusion Simon Cruanes 2023-08-08 12:41:42 -04:00
  • 3802aad11f
    remove eio stuff. Simon Cruanes 2023-08-08 12:39:07 -04:00
  • 51b5b140a9
    disable warning 48 Simon Cruanes 2023-08-08 12:38:59 -04:00
  • a3f5dde2f1
    format Simon Cruanes 2023-08-08 12:37:19 -04:00
  • 1b7939c17a Pass code to response makers Stéphane Lavergne 2023-08-07 16:09:04 -04:00
  • 53182375c0 Preserve client address down to Request.t Stéphane Lavergne 2023-08-07 16:52:32 -04:00
  • 72609bfcaa Pass code to response makers Stéphane Lavergne 2023-08-07 16:09:04 -04:00
  • 763f7e50a4 Remove window in which threads still got SIGINT/SIGHUP Stéphane Lavergne 2023-08-07 15:05:55 -04:00
  • 8f30c0dc9d Don't let threads handle SIGINT/SIGHUP Stéphane Lavergne 2023-08-07 10:49:42 -04:00
  • 60dc366bd2 Stop listening after accept loop Stéphane Lavergne 2023-08-07 10:49:04 -04:00
  • 6560d4b865
    fix: wait for threads to terminate when shutting down server Simon Cruanes 2023-08-04 11:01:24 -04:00
  • dc72c3a395 deploy: b3b99af7ae c-cube 2023-08-07 14:14:09 +00:00
  • b3b99af7ae
    Merge pull request #68 from c-cube/wip-writer Simon Cruanes 2023-08-07 10:08:06 -04:00
  • 092da1d4da deploy: 6070b36955 c-cube 2023-08-04 13:49:19 +00:00
  • 6070b36955
    perf: use TCP_NODELAY for client sockets Simon Cruanes 2023-08-04 09:43:03 -04:00
  • 1060158192
    do not flush after headers Simon Cruanes 2023-07-18 15:48:03 -04:00
  • e3d8cf9fdd
    server: use available buffer when writing body with chunk encoding Simon Cruanes 2023-07-18 15:39:09 -04:00
  • 098bf10466
    add ?buf param to IO.Out_channel.chunk_encoding Simon Cruanes 2023-07-18 15:38:11 -04:00
  • db40e291ab
    buf: add add_char Simon Cruanes 2023-07-18 15:37:53 -04:00
  • 3280c9422f
    fix: removed a \n by mistake Simon Cruanes 2023-07-18 14:36:11 -04:00
  • 3332fa906b
    add Tiny_httpd_html.to_writer Simon Cruanes 2023-07-18 14:27:48 -04:00
  • 4a78eeb69c
    html: ability to write a html document to an IO.Out_channel.t Simon Cruanes 2023-07-18 14:14:22 -04:00
  • 41be8908d3
    feat: add IO.Out_channel.output_char function Simon Cruanes 2023-07-18 14:14:05 -04:00
  • 29de702c55
    add IO.Out_channel.of_buffer Simon Cruanes 2023-07-18 13:57:12 -04:00
  • 355cc4d004
    add example for Writer.t response body Simon Cruanes 2023-07-18 12:50:15 -04:00
  • 6137c20801
    doc Simon Cruanes 2023-07-12 20:17:57 -04:00
  • 7b094b55ad
    many fixes Simon Cruanes 2023-07-11 11:29:52 -04:00
  • 7cb1b8c120 deploy: 832c4bd4df c-cube 2023-07-11 15:03:45 +00:00
  • de23d9b2a3
    wip: add IO.Writer.t, a push based stream Simon Cruanes 2023-07-11 10:57:08 -04:00
  • 832c4bd4df
    more docs Simon Cruanes 2023-07-11 10:01:39 -04:00
  • ec2f2f6f2e
    add Server.run_exn Simon Cruanes 2023-07-11 10:01:33 -04:00
  • ecc9f07748
    doc Simon Cruanes 2023-07-11 09:52:55 -04:00
  • 1ba9f29a31 deploy: c5060711ca c-cube 2023-07-06 02:08:04 +00:00
  • c5060711ca
    try to fix CI Simon Cruanes 2023-07-05 22:02:25 -04:00
  • 9d536e1716
    breaking: drop connections when maximum number of active conns is reached Simon Cruanes 2023-06-20 23:57:40 -04:00
  • b927f98490
    Merge pull request #64 from c-cube/wip-eio Simon Cruanes 2023-07-05 21:53:07 -04:00
  • bc4bce8083
    doc Simon Cruanes 2023-06-26 16:05:48 -04:00
  • 9a587918fb
    doc Simon Cruanes 2023-06-26 16:04:13 -04:00
  • e1f0c58065 echo examples: add alice endpoint; use eio_posix Simon Cruanes 2023-06-23 17:54:43 -04:00
  • 6c8c24ea40 chore: opam dep Simon Cruanes 2023-06-23 17:27:28 -04:00
  • 38789de89c require OCaml 4.05 Simon Cruanes 2023-06-21 12:29:05 -04:00
  • 0adebc304b fix issue for 4.04 Simon Cruanes 2023-06-21 11:34:42 -04:00
  • 4138b1885a detail in makefile Simon Cruanes 2023-06-20 23:32:37 -04:00
  • b9faebffe4 use a resource pool to recycle buffers Simon Cruanes 2023-06-05 23:38:02 -04:00
  • 5ba1ff0de4 add Tiny_httpd_pool Simon Cruanes 2023-06-05 22:18:13 -04:00
  • 3f3d3e3464 add shims for Atomic on OCaml < 4.12 Simon Cruanes 2023-06-05 21:57:22 -04:00
  • b3a29e0541
    echo examples: add alice endpoint; use eio_posix Simon Cruanes 2023-06-23 17:54:43 -04:00
  • 48847e74b6
    chore: opam dep Simon Cruanes 2023-06-23 17:27:28 -04:00
  • eb3ec103e3
    require OCaml 4.05 Simon Cruanes 2023-06-21 12:29:05 -04:00
  • 595abca0aa
    fix issue for 4.04 Simon Cruanes 2023-06-21 11:34:42 -04:00
  • dfe0602fdd
    detail in makefile Simon Cruanes 2023-06-20 23:32:37 -04:00
  • 45026eca59
    use a resource pool to recycle buffers Simon Cruanes 2023-06-05 23:38:02 -04:00
  • e59978ca3c
    add Tiny_httpd_pool Simon Cruanes 2023-06-05 22:18:13 -04:00
  • b0a4aea5b4
    add shims for Atomic on OCaml < 4.12 Simon Cruanes 2023-06-05 21:57:22 -04:00
  • 911db76864
    fix CI Simon Cruanes 2023-06-04 01:33:29 -04:00
  • f845f1265b
    compat: use Eio_unix.Stdenv.base Simon Cruanes 2023-06-08 00:23:59 -04:00
  • 6c499584b8
    cleanup eio Simon Cruanes 2023-06-05 22:18:40 -04:00
  • d2b89eee50
    echo_eio: make quit into a button, to use POST Simon Cruanes 2023-06-05 22:03:58 -04:00
  • 55ef988aa4
    details in example Simon Cruanes 2023-06-05 21:50:55 -04:00
  • 072a6041be
    example eio: re-enable camlzip Simon Cruanes 2023-06-04 00:19:48 -04:00
  • 5e0a634c10
    tiny_httpd_eio: do not use Eio's clock for our internals Simon Cruanes 2023-06-04 00:18:37 -04:00
  • 79cbcca4c1
    cleanup: remove unused function in Tiny_httpd_server.IO_BACKEND Simon Cruanes 2023-06-04 00:06:31 -04:00
  • d6402faf94
    example: detail Simon Cruanes 2023-06-04 00:06:24 -04:00
  • 8620fe688d
    eio: reimplement some buffering Simon Cruanes 2023-06-04 00:02:20 -04:00
  • bfe5e9c358
    copy example echo for eio backend Simon Cruanes 2023-06-03 22:45:27 -04:00
  • e00c3a5d63
    wip: tiny_httpd_eio, an alternative IO/concurrency backend based on Eio Simon Cruanes 2023-06-03 22:45:02 -04:00
  • 8d8627e1e8 deploy: 80ed51576b c-cube 2023-06-21 04:18:42 +00:00
  • 80ed51576b
    Merge pull request #65 from c-cube/wip-cleanup-2023-06-20 Simon Cruanes 2023-06-21 00:12:42 -04:00
  • 417606f016 deploy: 1f61af068b c-cube 2023-06-21 03:38:25 +00:00
  • 04f17262b6
    example: add super stupid http auth endpoints to echo.ml Simon Cruanes 2022-01-02 16:44:14 -05:00
  • 56bb2db880
    doc Simon Cruanes 2023-06-15 21:16:47 -04:00
  • ed0f016f27
    chore: makefile runs everything in release mode Simon Cruanes 2023-06-05 21:58:48 -04:00
  • c907dc6af1
    tighten flags; little fix Simon Cruanes 2023-06-03 22:45:38 -04:00
  • 5d7637becc
    server: add IO_BACKEND abstraction; implement a unix version of it Simon Cruanes 2023-06-03 20:54:28 -04:00
  • 009a8d6d3b
    test: tests for Buf Simon Cruanes 2023-06-03 20:54:18 -04:00
  • a32297ac6c
    add Tiny_httpd_io module, abstraction over IOs Simon Cruanes 2023-06-02 20:09:28 -04:00
  • ee310b5262
    fix: description for 401 code Simon Cruanes 2022-01-02 16:48:46 -05:00
  • 1f61af068b
    chore: makefile Simon Cruanes 2023-06-20 22:45:43 -04:00
  • bb50e91714 deploy: ac17e61a81 c-cube 2023-05-24 20:19:32 +00:00
  • ac17e61a81
    prepare for 0.13 v0.13 Simon Cruanes 2023-05-24 15:44:27 -04:00
  • c2b6ac24f4
    fix: unit tests are for tiny_httpd Simon Cruanes 2023-05-24 16:14:00 -04:00
  • 97661b2cc2 deploy: 493855e57b14f45c6b93c47c57da12bcccb494a5 c-cube 2023-05-24 20:12:02 +00:00
  • d1ebd9927d deploy: 202ef14f59 c-cube 2023-05-24 19:51:25 +00:00
  • 89602232b3 deploy: 163d720641 c-cube 2023-05-24 19:50:48 +00:00
  • 80256f4930 deploy: 61ee931b6c c-cube 2023-05-24 19:48:57 +00:00
  • 202ef14f59
    doc Simon Cruanes 2023-05-24 15:42:32 -04:00
  • 163d720641
    Merge branch 'ocamlformat' Simon Cruanes 2023-05-24 15:41:58 -04:00
  • aa27963c5a
    improve docs ocamlformat Simon Cruanes 2023-05-24 15:39:05 -04:00
  • 88bfb9c109
    feat: Server.run takes ?after_init parameter Simon Cruanes 2023-05-24 15:38:38 -04:00
  • 04fb648576
    update docs Simon Cruanes 2023-05-24 15:17:04 -04:00
  • 82ebf85ee7
    remove dep on ounit2 and qtest Simon Cruanes 2023-05-24 15:13:27 -04:00
  • 61ee931b6c
    fix warnings Simon Cruanes 2023-05-24 15:03:32 -04:00
  • af414e4b3c deploy: 30a355da5a c-cube 2023-05-23 21:45:54 +00:00
  • 0908d71e19
    ocamlformat Simon Cruanes 2023-05-23 17:40:18 -04:00
  • 30a355da5a
    fix: SSE requires no body Simon Cruanes 2023-05-23 17:38:35 -04:00
  • f978ea649b deploy: 997f7aa868 c-cube 2023-05-23 21:25:40 +00:00