Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for TLS trust anchors lazily #395

Merged
merged 1 commit into from
May 21, 2021

Conversation

craigfe
Copy link
Member

@craigfe craigfe commented May 21, 2021

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.

Fixes #388.

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.

Fixes mirage#388.
@craigfe craigfe requested a review from samoht May 21, 2021 10:32
@avsm avsm merged commit 6cf2ec8 into mirage:master May 21, 2021
@avsm
Copy link
Member

avsm commented May 21, 2021

This'll require a corresponding PR in cohttp-lwt to do the Lazy.force, and then both can be released together.

dinosaure added a commit that referenced this pull request Aug 6, 2021
…fects"

This reverts commit 6cf2ec8, reversing
changes made to a2f91d0.
@dinosaure dinosaure mentioned this pull request Aug 6, 2021
@samoht samoht removed their request for review October 1, 2021 09:41
hannesm added a commit to hannesm/ocaml-conduit that referenced this pull request Oct 8, 2021
this fixes compilation without the tls library (improving mirage#395 @craigfe)
hannesm added a commit to hannesm/ocaml-conduit that referenced this pull request Oct 9, 2021
this fixes compilation without the tls library (improving mirage#395 @craigfe)
hannesm added a commit to hannesm/ocaml-conduit that referenced this pull request Oct 18, 2021
this fixes compilation without the tls library (improving mirage#395 @craigfe)
hannesm added a commit to hannesm/opam-repository that referenced this pull request Oct 20, 2021
…and conduit-async (5.0.0)

CHANGES:

* change 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. (@craigfe, mirage/ocaml-conduit#395 mirage/ocaml-conduit#404)
* Adapt conduit-mirage to dns-client 6.0.0 API (mirage/ocaml-conduit#406 @hannesm)
* Use Lwt.pause instead of Lwt_unix.yield (mirage/ocaml-conduit#403 @MisterDA)
* Avoid deprecated Fmt.kstrf (mirage/ocaml-conduit#407 @hannesm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conduit crashes on startup due to ca-certifcates, even when not using tls
2 participants