ocaml-ssl
ocaml-ssl copied to clipboard
OCaml SSL bindings.
Ssl.input_string's implementation in ocaml-ssl-0.7.0 is broken, because Ssl.read (which is used in that implementation) never returns 0 (or a negative number) - instead it raises a Ssl.Read_error exception, with an...
This will probably be hard to reproduce in isolation but we've had reports of segfaults associated with GC operations in liquidsoap. See: https://github.com/savonet/liquidsoap/issues/3574
Here is a suggestion on how to add support for using CRLs. Please let me know if you find any issues with this patch, and I'll try to improve it.
The main interest is not speed and memory (which it will improve), it is the ability to use `Unix.read` or `Unix.write`, allowing to share code for both ssl and non...
create_context has distinct default mode for blocking and Runtime_lock. Also add tests for Runtime_lock
It is not really because of Runtime_lock, but because of non blocking socket. All high level function provided by the Make functor will only work if the retry exception are...
Currently all context have this flag, which is bad in non blocking context with eio or simple_httpd as the scheduler will loose opportunities to switch task.
- a lot of functions that can not block should probably not release the runtime system (like embed_socket or get_file_descr) - a lot of functions could be tagged @@noalloc if...
Right now, it's not clear how to install this package `ssl` on a GitHub Actions Windows runner. This should be addressed and maintained in this repo for all downstream users....