Commit graph

  • 4bf57833e2 deploy: 18780db853 c-cube 2023-08-09 20:11:15 +00:00
  • 18780db853
    security: zero out buffers from pool before reusing them Simon Cruanes 2023-08-09 16:05:36 -04:00
  • 59db1512c3 deploy: 925a503604 c-cube 2023-08-09 03:13:40 +00:00
  • 925a503604
    doc Simon Cruanes 2023-08-08 23:07:47 -04:00
  • f8534f68f3 deploy: ac1c1ab502 c-cube 2023-08-08 21:01:48 +00:00
  • ebb4ece5f4
    Update tiny_httpd doc to 0.14. Simon Cruanes 2023-08-08 16:50:07 -04:00
  • ac1c1ab502
    prepare for 0.14 0.14 Simon Cruanes 2023-08-08 16:45:28 -04:00
  • cbc69ea178 deploy: 7365dfcdd5 c-cube 2023-08-08 20:44:30 +00:00
  • d08fe6926d
    rename function Simon Cruanes 2023-08-08 16:42:48 -04:00
  • 8941b37806 deploy: 402e3f72e4 c-cube 2023-08-08 20:42:58 +00:00
  • 7365dfcdd5
    doc Simon Cruanes 2023-08-08 16:37:38 -04:00
  • 402e3f72e4
    breaking: set_top_handler takes a stream request, for more generality Simon Cruanes 2023-08-08 16:36:17 -04:00
  • 24e4710206 deploy: 20b85c9926 c-cube 2023-08-08 19:46:46 +00:00
  • 20b85c9926
    Merge commit '03596c1a08f9b9fa063f22c40d80afc73d14ed08' Simon Cruanes 2023-08-08 15:39:55 -04:00
  • 0a111c8cdb
    Merge branch 'c-cube:master' into client-ip Stéphane Lavergne 2023-08-08 15:32:23 -04:00
  • b7eb8f56a0
    fix example Simon Cruanes 2023-08-08 15:21:22 -04:00
  • 03596c1a08 Remove option around client_addr Stéphane Lavergne 2023-08-08 15:18:39 -04:00
  • d5f783c159
    Comment re: NEXT_RELEASE Stéphane Lavergne 2023-08-08 15:00:20 -04:00
  • 188c21c70e
    Merge branch 'c-cube:master' into client-ip Stéphane Lavergne 2023-08-08 14:52:14 -04:00
  • 572168967f
    remove last qtest Simon Cruanes 2023-08-08 14:41:58 -04:00
  • 2f2a106f0c deploy: b36ea35703 c-cube 2023-08-08 18:35:40 +00:00
  • b36ea35703 Clarify why we do SIGINT/SIGHUP shenanigans Stéphane Lavergne 2023-08-08 14:22:55 -04:00
  • def4414676 Remove window in which threads still got SIGINT/SIGHUP Stéphane Lavergne 2023-08-07 15:05:55 -04:00
  • d8234b0189 Don't let threads handle SIGINT/SIGHUP Stéphane Lavergne 2023-08-07 10:49:42 -04:00
  • a7516689b1 Stop listening after accept loop Stéphane Lavergne 2023-08-07 10:49:04 -04:00
  • 1ca1f3dff9 fix: wait for threads to terminate when shutting down server Simon Cruanes 2023-08-04 11:01:24 -04:00
  • 61fcf3fda7 Clarify why we do SIGINT/SIGHUP shenanigans Stéphane Lavergne 2023-08-08 14:22:55 -04:00
  • 1e50abb44f
    Merge branch 'master' into client-ip Simon Cruanes 2023-08-08 13:03:40 -04:00
  • 03bc282731 deploy: 5c1530f816 c-cube 2023-08-08 17:03:37 +00:00
  • 5c1530f816 github CI Simon Cruanes 2023-08-08 12:49:15 -04:00
  • 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