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 — FlowControlHandler: don't drop outstanding reads on channelReadComplete by hachen-r7 · Pull Request #18472 · netty/netty ConversationMotivation: Since 4.1.136,
Modification:
Result: Fixes #17628. All five new or changed tests fail without the change in One point for reviewers: outstanding reads are now preserved across empty upstream cycles, so N Credit and relation to #17647: This supersedes #17647 by @Asthenia0412, which has been stalled on a failing CI build for over a month. A follow-up patch posted there a week ago got no response. This PR is #17647 squashed onto the current
I'm happy to close this in favour of #17647 if its author picks it up again. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: Since 4.1.136, FlowControlHandler resets its count of unsatisfied downstream read() calls when the upstream read cycle completes. With auto-read disabled this can stall the channel forever: - a downstream handler that calls read() while processing the last message of a read cycle loses that read (HTTP relay in netty#17628 stalls after ~34 KB of a 1 MiB body); - an upstream read cycle that produces no message for this handler (e.g. a decoder in front of it got only a partial frame, or a zero-byte NIO read) consumes every outstanding read, while the transport keeps reading and the next message is queued forever. Modification: - Keep outstanding reads across upstream channelReadComplete. A read() is now only satisfied by delivering a message, which restores the 4.1.135 behaviour and matches the class javadoc. - Make HttpServerCodecFlowControlTest compile with -source 1.6. - Add regression tests for re-entrant reads, empty read cycles and frames split across reads; adjust testMultipleReadsOnEmptyQueue, whose last block asserted the stall. Result: Fixes netty#17628. Supersedes netty#17647 (picks up its fix, tests and review feedback). Co-authored-by: Stochastic <[email protected]> Co-authored-by: yancy <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. 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. |