ocaml-ssl
ocaml-ssl copied to clipboard
With non blocking socket some functions are a bit useless as it is.
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 transformed into proper effect, or if the are placed inside a loop. A workaround is to provide an optional parameter which is an exception handler that could raise the desired effect.