Skip to content

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

Open
zekronium wants to merge 1 commit into
vert-x3:4.xfrom
zekronium:fix_transfer_encoding_http2
Open

zekronium wants to merge 1 commit into
vert-x3:4.xfrom
zekronium:fix_transfer_encoding_http2

Conversation

@zekronium

@zekronium zekronium commented Oct 23, 2024

Copy link
Copy Markdown
Contributor

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