Skip to content

Preserve hop-by-hop when setting close or keep-alive - #4196

Open
dtolnay wants to merge 2 commits into
hyperium:masterfrom
dtolnay-contrib:hop
Open

dtolnay wants to merge 2 commits into
hyperium:masterfrom
dtolnay-contrib:hop

Conversation

@dtolnay

@dtolnay dtolnay commented Sep 13, 2026

Copy link
Copy Markdown

Fixes #4195.

This adjusts #4110 to use append instead of insert when a nonzero number of "connection" headers are already present, and only if none of the existing headers already include the value being added.

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.

Automatically disabled keep-alive destroys hop-by-hop headers

2 participants