Repository navigation
test: verify HTTP/2 per-message flushing - #1542
Merged
Merged
Conversation
jlouvel
force-pushed
the
test/rpc-c4-http2-flush
branch
from
October 18, 2026 14:57
bd18967 to
8b7e3d7
Compare
thboileau-git
approved these changes
Oct 19, 2026
jlouvel
added this pull request to stack #1548
October 20, 2026 12:42
jlouvel
force-pushed
the
test/rpc-c4-http2-flush
branch
3 times, most recently
from
October 20, 2026 13:31
795cf2c to
dacf132
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Jerome Louvel <374450+jlouvel@users.noreply.github.com>
jlouvel
force-pushed
the
test/rpc-c4-http2-flush
branch
from
October 20, 2026 13:31
dacf132 to
c4a534f
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Implements C4 on top of C3 (#1541).
The Netty ChannelOutputStream in #1538 already flushes buffered bytes with writeAndFlush. This PR adds contract tests for both HTTP/2 directions: a request reader receives the first flushed DATA before the upload finishes, and a response reader receives the first flushed DATA before the representation finishes. No production change was needed because the underlying flush behavior is already present.
Validation:
mvnw -B -pl org.restlet -Dtest=Http2FlushTestCase,Http2FullDuplexTestCase,Http2CancellationTestCase,HttpTrailersTestCase test(C4 tests pass; cancellation test has since been strengthened and passes independently).