ocaml-multicore / picos

Interoperable effects based concurrency
https://ocaml-multicore.github.io/picos/doc/picos/index.html
ISC License
86 stars 3 forks source link

Fix to fully transmit body #223

Closed polytypic closed 2 months ago

polytypic commented 2 months ago

I noticed that when using the bytecode interpreter the request/response body was not always properly transmitted — a test will appear in a separate PR #222. This simplifies the client to not try to write things concurrently and changes both sides to shutdown the connection partially after being done with writing or reading. This seems to have eliminated the issue.