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

No vchan port sexp, and mirage-flow 4 support #424

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Apr 29, 2024

No description provided.

@avsm
Copy link
Member

avsm commented Apr 29, 2024

Missing pin?

File "src/conduit-mirage/conduit_mirage.ml", line 239, characters 17-29:
239 |       | TLS f -> TLS.shutdown f mode
                       ^^^^^^^^^^^^
Error: Unbound value TLS.shutdown

@hannesm
Copy link
Member Author

hannesm commented Apr 29, 2024

Yes and no. So, tls since 0.17.4 has a shutdown function. The CI here fails since vchan only since 6.0.2 (PRed to opam-repository) supports mirage-flow 4.

So, once ocaml/opam-repository#25765 is merged, we'll hopefully get this CI check to be green and can merge and release a conduit with shutdown functionality :)

@hannesm
Copy link
Member Author

hannesm commented Apr 30, 2024

CI looks fine, there's a failure in conduit_async.ml with OCaml 5.2:

module V1 = V1
module V2 = V2
module V3 = V3

[@@@deprecated "Use Conduit_async.V1"]

include V1.Conduit_async

and the error is "Error (warning 53 [misplaced-attribute]): the "deprecated" attribute cannot appear in this context" -- any hints where to put it - how to change the implementation?

@hannesm
Copy link
Member Author

hannesm commented Apr 30, 2024

FreeBSD failures are tracked in janestreet/core_unix#11

@hannesm hannesm merged commit 492f554 into mirage:main Apr 30, 2024
4 of 5 checks passed
@hannesm hannesm deleted the no-vchan-port-sexp branch April 30, 2024 12:06
hannesm added a commit to hannesm/opam-repository that referenced this pull request Apr 30, 2024
CHANGES:

* conduit-mirage: IPv6 literal * DNS support for default resolver (mirage/ocaml-conduit#425 @Firobe)
* conduit-mirage: adapt to mirage-flow 4 API, requiring tls 0.17.4, vchan 6.0.2
  (mirage/ocaml-conduit#424 @hannesm)
* conduit-lwt-unix: disable deprecation alert (mirage/ocaml-conduit#424 @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.

None yet

2 participants