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

fix(#2283): Prevent MultipartFormUpload PostRequestEncoder including transfer-encoding:chunked #2668

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

zekronium
Copy link
Contributor

@zekronium zekronium commented Oct 23, 2024

Motivation:

Currently, MultipartFormUpload uses PostRequestEncoder which includes transfer-encoding headers which are illegal in HTTP2 and HTTP3 as per the RFC.

Currently it is a simple fix, maybe this should be improved from the netty side itself to prevent needing to rewrite/polyfill the entire PostRequestEncoder just for such a small thing.

Fixes #2283

Side note: When testing, I noticed that the MultipartFormUpload does not report any exceptions. If theres a failure in any of the handlers, the context is unaware. Is that intentional?

…ch is illegal in HTTP2 and HTTP3. Apply a simple fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant