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

add close_notify as raw SSL_shutdown #2

Merged
merged 3 commits into from
Feb 1, 2023
Merged

Conversation

madroach
Copy link

@madroach madroach commented Jun 21, 2020

this is needed for sending EOF, aka one-way shutdown.

See savonet/ocaml-ssl#63 and mirage/ocaml-conduit#319

@aantron
Copy link
Collaborator

aantron commented Jul 24, 2020

LGTM. I suppose we should wait for savonet/ocaml-ssl#63 and a release of ssl before merging this, so we can add the right constraint here. If you agree, please ping this PR when ssl is released.

this is needed for sending EOF, aka one-way shutdown.
@TheLortex
Copy link

Now that ssl is released (ocaml/opam-repository#22336), the constraint can be added (>= 0.5.13) and this PR can be merged.

@anmonteiro
Copy link
Collaborator

@raphael-proust do you have push permissions for this repo?

@anmonteiro anmonteiro merged commit f3fe402 into ocsigen:master Feb 1, 2023
anmonteiro added a commit to anmonteiro/opam-repository that referenced this pull request Feb 1, 2023
CHANGES:

  * add Lwt_ssl.close_notify to issue one-way SSL shutdown (ocsigen/lwt_ssl#2, @madroach).
  * use Lwt.pause instead of the deprecated Lwt_unix.yield (ocsigen/lwt_ssl#3, @anmonteiro).
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.

4 participants