This PR adds minimalistic Cohttp Client and Server modules using picos.stdio for IO.
This also changes Picos_select to configure SIGPIPE to be ignored by default. This makes it easier to deal with cases where one end of a communication is closed before the other end is done.
This is definitely not a final solution, but I need a minimalistic HTTP client and don't have time to think through how to support more interesting use cases in the best way with Cohttp. Testing is also not very thorough at this point. In other words, improvements, including highly likely breaking changes, are left for future work.
This PR adds minimalistic Cohttp
Client
andServer
modules usingpicos.stdio
for IO.This also changes
Picos_select
to configureSIGPIPE
to be ignored by default. This makes it easier to deal with cases where one end of a communication is closed before the other end is done.This is definitely not a final solution, but I need a minimalistic HTTP client and don't have time to think through how to support more interesting use cases in the best way with Cohttp. Testing is also not very thorough at this point. In other words, improvements, including highly likely breaking changes, are left for future work.
Feedback from potential users is welcome!