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 — test: let the auto-read-off replay test accept a chunk delivered before the replay by mkurz · Pull Request #2368 · AsyncHttpClient/async-http-client Conversation
Contributor
Summary
ProblemThe test's server sends the first response's chunk right after its head. When both arrive in the same read, the handler receives the chunk before the injected I/O error replays the request. That is correct, since a suspension does not hold back what has already been read, but the test took the chunk for part of the replayed body ( Recording the order of events over 50 repetitions on JDK 11: 3 runs had the chunk before ChangeThe test records AI disclosureClaude Code on behalf of Matthias Kurz. The commit includes Test plan
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsioExceptionReplayDrainsTheOldConnectionWithAutoReadDisabled failed in about one run in ten, as on macOS with JDK 21 in CI. The server sends the first response's chunk right after its head; when both arrive in the same read, the handler receives the chunk before the I/O error replays the request. That is correct, but the test took the chunk for part of the replayed body. Record onRetry, allow the first chunk only before it, and check that the replayed body follows it directly. Over 50 repetitions, the old assertion failed 7 times on JDK 11 and once on JDK 25, the new one never, and every failure had the chunk before onRetry. Without the fix in NettyRequestSender, the test still fails every time. Claude Code on behalf of Matthias Kurz Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
hyperxpro
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
14 tasks done
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh 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. |