Christophe Raffalli
Christophe Raffalli
Do you mind if http_of_dir move to the tiny_httpd_camlzip package to have a compress option. This would give a simple way to test compression and also allow more use case...
Yes please, if you can give me details, I could use them for Simple_httpd too. I have ssl support (was easy to do with ocaml-ssl), but it is not easy...
I have no problem with these extensions, espacially that the ~std flag allows standardization. It is clearly an improvement for OcamlOcaml communication. I would also enjoy a clearer separation of...
I did more serious benchmarks (see code) and the gain is between 10 and 20%, larger with larger buffer, arround 5% with 1 byte buffer, but very noisy measure! My...
> I obtain similar speedups in the benchmark (between 25 and 30 %). I am reviewing this PR. My laptop was not so good, I am happy that you got...
We really need to test this code on a windows platform. Just running the benchmark given above + may be a test for some errors.
> > (if we use this call with a blocking file descriptor, the whole system will block) > > Indeed and as such I find the name to be quite...
I thought about a type parameter to distinguish blocking non blocking. This way the non blocking function will only accept non blocking FD while other function would accept anything. Le...
This idea of type parameter is also interesting for socket option like ``` TCP_CORK : [`Linux] gen_sock_bool_option TCP_NOPUSH : [`Bsd] gen_sock_bool_option ``` and ``` type all = [`Linux|`Windows|`Bsd|...] type sock_bool_option...
Xavier Leroy ***@***.***> writes: > However, I'm not sure it's always safe to not release the runtime lock when reading or writing to a file descriptor in non-blocking mode. File...