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

tls-eio: Fix end-of-file handling #454

Merged
merged 2 commits into from Oct 25, 2022
Merged

tls-eio: Fix end-of-file handling #454

merged 2 commits into from Oct 25, 2022

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Sep 28, 2022

I introduced this bug in f328099 (not in the history due to squash merge). However, setting the state to Eof is not the same as reporting end-of-file to the user, and we may still have data to report. This can cause us to miss data at the end of the stream in some cases.

talex5 and others added 2 commits September 28, 2022 14:17
I introduced this bug in f328099 (not in the history due
to squash merge). However, setting the state to `Eof` is not the same as
reporting end-of-file to the user, and we may still have data to report.
This can cause us to miss data at the end of the stream in some cases.
@hannesm hannesm merged commit d265a96 into mirleft:main Oct 25, 2022
hannesm added a commit to hannesm/opam-repository that referenced this pull request Oct 25, 2022
CHANGES:

* tls-eio release only: fix end-of-file handling (mirleft/ocaml-tls#454 @talex5), avoid
  deprecation warnings (mirleft/ocaml-tls#454 @hannesm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants