Closed craigfe closed 3 years ago
Changes the type of Conduit_lwt_tls.X509.default_authenticator and Conduit_lwt_unix.default_ctx to be lazy, avoiding various side-effects (system interactions, logging) due to constructing these values at initialisation time.
Conduit_lwt_tls.X509.default_authenticator
Conduit_lwt_unix.default_ctx
Fixes https://github.com/mirage/ocaml-conduit/issues/388.
This'll require a corresponding PR in cohttp-lwt to do the Lazy.force, and then both can be released together.
Changes the type of
Conduit_lwt_tls.X509.default_authenticator
andConduit_lwt_unix.default_ctx
to be lazy, avoiding various side-effects (system interactions, logging) due to constructing these values at initialisation time.Fixes https://github.com/mirage/ocaml-conduit/issues/388.