-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
if actual bytes to be written is negative, set to zero #58575
Conversation
src/Servers/Kestrel/Core/src/Internal/Http2/Http2FrameWriter.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a suggestion for a more detailed comment, but I don't feel strongly about it - feel free to ignore it if it's too much.
Co-authored-by: Andrew Casey <[email protected]>
Any remaining concerns @mgravell? |
@amcasey thanks for merging this |
@BrennanConroy @adityamandaleeka to consider for backporting |
Hi, Thanks |
Backport isn't an automatic / "given"; however, the change is small, reasonably safe, and doesn't involve API, so it isn't a hard "no" either, and there's multiple people requesting it. I'll raise it with the team. |
* wait for window updates, if stream window becomes negative * update comment * fix typo * update comment per suggestion Co-authored-by: Andrew Casey <[email protected]> --------- Co-authored-by: Andrew Casey <[email protected]>
if actual bytes to be written is negative, set to zero
Description
Fixes #47452
When actual is zero, it will wait for stream window update.