GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — HTTP/2: Fix stream stall when toggling auto-read on a child channel by pandareen · Pull Request #17617 · netty/netty HTTP/2: Fix stream stall when toggling auto-read on a child channel #17617New issueHave 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
Merged
normanmaurer
merged 6 commits into
netty:4.2
from
pandareen:claude/gifted-goodall-aj20ng
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
20f199c
Make Http2StreamChannelConfig#setAutoRead() safe to call from any thread
claude 06105bf
Flush WINDOW_UPDATE written by read() while a read is already pending
claude 31db50f
Merge branch '4.2' into claude/gifted-goodall-aj20ng
normanmaurer cc41e0e
Also flush WINDOW_UPDATE when the parent's read loop is deferring it
normanmaurer adbd14a
Don't reorder or drop frames delivered re-entrantly during a child read
claude c7ed8b6
Merge branch '4.2' into claude/gifted-goodall-aj20ng
normanmaurer File filterConversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page. Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page. Diff viewDiff view
Don't reorder or drop frames delivered re-entrantly during a child read
doBeginRead() can stop early (e.g. auto-read was turned off) while frames are still queued, and then runs pipeline callbacks and flush() with readStatus still IN_PROGRESS. If those re-entrantly deliver more frames (e.g. a flush of a WINDOW_UPDATE synchronously makes the remote peer send more data, as happens with LocalChannel peers on the same EventLoop): - fireChildRead() dispatched the new frame directly, ahead of the frames that were still queued. With assertions enabled this instead tripped the "queue must be empty" assert, so the frame was never released or consumed, leaking it and stalling the stream's flow-control window. - If the re-entrant frames ended the stream while some of them were queued, notifyReadComplete() (and doBeginRead()) closed the channel unconditionally on readEOS, releasing the queued frames and silently truncating the stream. Queue behind already queued frames instead of dispatching out of order, and only close on EOS once the inbound queue has been fully drained. This fixes the stall, truncation and leak seen in proxyMirroringWritabilityToAutoReadAcrossEventLoopsDoesNotStallStream on CI, and adds deterministic single-threaded tests for both cases. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018LPAeqinPd3jpGx9xMYiWr
Uh oh!
There was an error while loading. Please reload this page.
commit adbd14afb50599c046572d9c5ccf41445f6caa8b
There are no files selected for viewing
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |