Skip to content
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

Handle the incoming LastHttpContent with no content as if it is EMPTY_LAST_CONTENT #3530

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

violetagg
Copy link
Member

@violetagg violetagg commented Dec 3, 2024

When the incoming LastHttpContent is EMPTY_LAST_CONTENT, Reactor Netty directly completes the inbound. Handle the incoming LastHttpContent with no content in the same way instead of buffering it in FluxReceive.

Adapt the tests - instead of counting the received content on the server, directly count the outbound data on the client
as the modified test is aimed at the client request outbound frames.

…_LAST_CONTENT

When the incoming LastHttpContent is EMPTY_LAST_CONTENT, Reactor Netty directly completes the inbound.
Handle the incoming LastHttpContent with no content in the same way instead of buffering it in FluxReceive.

Adapt the tests - instead of counting the received content on the server, directly count the outbound data on the client.
@violetagg
Copy link
Member Author

@chemicL Thanks for the review!

@violetagg violetagg merged commit aadb840 into 1.1.x Dec 4, 2024
14 checks passed
@violetagg violetagg deleted the h2-empty-last-content branch December 4, 2024 13:19
violetagg added a commit that referenced this pull request Dec 4, 2024
violetagg added a commit that referenced this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants