anmonteiro / httpun

A high performance, memory efficient, and scalable web server written in OCaml
Other
50 stars 11 forks source link

surface write errors through `flush` #138

Closed anmonteiro closed 2 months ago

anmonteiro commented 2 months ago

ports https://github.com/inhabitedtype/httpaf/pull/217 to httpun

anmonteiro commented 2 months ago

this change doesn't yet do the same for the Reqd.respond_with_* class of functions, which can still raise Failure writing to a closed writer.