Skip to content

uwsgi: fix response handling - #3714

Open
methane wants to merge 1 commit into
benoitc:masterfrom
methane:fix-uwsgi
Open

uwsgi: fix response handling#3714
methane wants to merge 1 commit into
benoitc:masterfrom
methane:fix-uwsgi

Conversation

@methane

@methane methane commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Strip Transfer-Encoding headers when an app is served through the uWSGI protocol, so chunk markers are not forwarded as part of the application payload. This keeps the body framing consistent with the raw-byte uWSGI response semantics and avoids leaking chunk encoding to clients behind nginx.

Also update the close-response logic and add regression coverage for the uWSGI integration and behavior.

fix: #3697

Strip hop-by-hop Transfer-Encoding headers when an app is served through
the uWSGI protocol, so chunk markers are not forwarded as part of the
application payload. This keeps the body framing consistent with the
raw-byte uWSGI response semantics and avoids leaking chunk encoding to
clients behind nginx.

Also update the close-response logic and add regression coverage for the
uWSGI integration and behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant