You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mux-h2): Transfer-Encoding added to an H2 response without a body towards an H1 client #1776
When an H2 backend sends a response header section without END_STREAM and without content-length, Sōzu adds Transfer-Encoding: chunked to the head it writes to an H1 client and frames the response as chunked, including for a 1xx, a 204, a 304 and a response to HEAD.
These responses have no body by definition (RFC 9110 §6.4.1). A server MUST NOT send Transfer-Encoding in a 1xx or 204 response (RFC 9112 §6.1), and for a 304 or a response to HEAD the field misstates the framing.
Expected: no Transfer-Encoding and no chunked framing for these responses; a content-length sent by the backend is passed through as before (RFC 9110 §8.6).
Activity
fix(mux-h2): add no Transfer-Encoding to a response without a body
fix(mux-h2): add no Transfer-Encoding to a response without a body
fix(mux-h2): discard the DATA of a HEAD response, count bodiless resets
fix(mux-h2): add no Transfer-Encoding to a response without a body
fix(mux-h2): discard the DATA of a HEAD response, count bodiless resets
fix(mux-h2): discard the DATA of a HEAD response, count bodiless resets
fix(mux-h2): add no Transfer-Encoding to a response without a body (s…