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

flowcontrol: make it possible to call Abandon multiple times #4459

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

marten-seemann
Copy link
Member

Abandon is called when a RESET_STREAM frame is received, and marks the bytes between the highest read position and the final offset as consumed. Making it possible to call Abandon multiple times makes using this API a bit easier, since the stream doesn't need to track if it already called it.

Abandon is called when a RESET_STREAM frame is received, and marks the
bytes between the highest read position and the final offset as
consumed. Making it possible to call Abandon multiple times makes using
this API a bit easier, since the stream doesn't need to track if it
already called it.
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.69%. Comparing base (b0eb608) to head (61f9312).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4459      +/-   ##
==========================================
+ Coverage   84.65%   84.69%   +0.04%     
==========================================
  Files         152      152              
  Lines       14419    14420       +1     
==========================================
+ Hits        12206    12213       +7     
+ Misses       1707     1703       -4     
+ Partials      506      504       -2     

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

@marten-seemann marten-seemann merged commit 394aa56 into master Apr 24, 2024
34 checks passed
@marten-seemann marten-seemann deleted the flowcontrol-tolerate-duplicate-abandons branch April 25, 2024 08:12
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