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
rewrite_host sends two Host headers to HTTP/1.1 backends #1908
With rewrite_host set on an HTTP frontend, the request forwarded to an HTTP/1.1 backend carries two Host headers. Servers that reject duplicate Host headers (Go's net/http, for instance) answer 400 Bad Request.
apply_request_rewrites_and_headers (lib/src/protocol/mux/router.rs) rewrites the status-line authority, drops the existing Host header blocks, then inserts a synthetic Host block. The H1 converter (kawa::protocol::h1::converter) already writes Host: <authority> right after the request line, from the authority just rewritten, so the synthetic block duplicates it. Its doc comment states the wire never carries two Host headers, which does not hold for H1 backends.
Activity
chore(release): prepare 2.3.4 (#1920)