Simon Cruanes
225c21b4cc
error handling, and bugfix (idempotent closing of Unix.fd)
2024-02-22 18:23:18 -05:00
Simon Cruanes
ac1c1ab502
prepare for 0.14
2023-08-08 16:49:19 -04:00
Simon Cruanes
25eb8b765a
rename IO.{In,Out}_channel to avoid confusion
...
these are not the standard in/out_channels so we should just use
different names.
2023-08-08 12:57:12 -04:00
Simon Cruanes
e3d8cf9fdd
server: use available buffer when writing body with chunk encoding
...
there's already a buffer nearby, we can use it to write streams/writer
bodies to the output channel
2023-07-18 15:40:56 -04:00
Simon Cruanes
de23d9b2a3
wip: add IO.Writer.t, a push based stream
...
This is more convenient than our existing streams when it comes to
writing a body. The user can just get an output channel and write to it,
flush it, etc. as they please. This should also simplify compression…
once it works.
2023-07-11 10:57:08 -04:00
Simon Cruanes
ecc9f07748
doc
2023-07-11 09:52:55 -04:00
Simon Cruanes
56bb2db880
doc
2023-06-20 23:04:43 -04:00
Simon Cruanes
a32297ac6c
add Tiny_httpd_io module, abstraction over IOs
...
abstract channels, and abstract TCP server.
2023-06-20 23:03:30 -04:00
Simon Cruanes
04fb648576
update docs
2023-05-24 15:21:49 -04:00
Simon Cruanes
0908d71e19
ocamlformat
2023-05-23 17:40:18 -04:00
craff
915317438f
use directly file descriptor for input to avoid stacking buffers
2022-12-09 03:17:51 -10:00
Simon Cruanes
91e835ea60
docstrings
2022-03-30 12:55:03 -04:00
Simon Cruanes
d5f9eacc81
split code into more modules
2022-03-16 20:40:38 -04:00