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

fix: graceful close of optimistic selection with early data #2318

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Dec 17, 2023

When we are doing optimistic protocol selection and we send a small amount of data then immediately close the stream, if necessary wait until we have finished sending protocol+data before allowing the underlying stream to close.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@achingbrain achingbrain requested a review from a team as a code owner December 17, 2023 10:28
When we are doing optimistic protocol selection and we send a small
amount of data then immediately close the stream, if necessary wait
until we have finished sending protocol+data before allowing the
underlying stream to close.
@achingbrain achingbrain merged commit a7c6a93 into main Dec 18, 2023
23 checks passed
@achingbrain achingbrain deleted the fix/allow-mss-to-finish branch December 18, 2023 06:55
@achingbrain achingbrain mentioned this pull request Dec 18, 2023
This was referenced Jan 18, 2024
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.

1 participant