Skip to content

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

Merged
hannesm merged 2 commits intomirleft:mainfrom
talex5:fix-eio-eof
Oct 25, 2022
Merged

tls-eio: Fix end-of-file handling#454
hannesm merged 2 commits intomirleft:mainfrom
talex5:fix-eio-eof

Conversation

@talex5
Copy link
Copy Markdown
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.

2 participants