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

http3: use the stream context to detect when the send side is closed #4489

Merged
merged 1 commit into from
May 5, 2024

Conversation

marten-seemann
Copy link
Member

No description provided.

@marten-seemann marten-seemann added this to the v0.44 milestone May 5, 2024
@marten-seemann marten-seemann force-pushed the http3-detect-stream-send-state-change branch from 94b46e1 to 40f8706 Compare May 5, 2024 01:37
@marten-seemann marten-seemann force-pushed the http3-detect-stream-send-state-change branch from 40f8706 to bbd4825 Compare May 5, 2024 01:53
d.mx.Unlock()
return nil, d.receiveErr
return nil, receiveErr
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes a race condition.

Copy link

codecov bot commented May 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.97%. Comparing base (c7b58b5) to head (bbd4825).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4489      +/-   ##
==========================================
+ Coverage   84.92%   84.97%   +0.06%     
==========================================
  Files         154      154              
  Lines       14692    14695       +3     
==========================================
+ Hits        12476    12487      +11     
+ Misses       1703     1697       -6     
+ Partials      513      511       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marten-seemann marten-seemann merged commit bb6f066 into master May 5, 2024
34 checks passed
@marten-seemann marten-seemann deleted the http3-detect-stream-send-state-change branch May 5, 2024 02:30
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

1 participant