ocaml-ssl icon indicating copy to clipboard operation
ocaml-ssl copied to clipboard

With non blocking socket some functions are a bit useless as it is.

Open craff opened this issue 1 year ago • 0 comments

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.

craff avatar Jun 15 '23 05:06 craff