Skip to content

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

Merged
seanmonstar merged 2 commits into
hyperium:masterfrom
dtolnay-contrib:hop
Sep 15, 2026
Merged

seanmonstar merged 2 commits into
hyperium:masterfrom
dtolnay-contrib:hop

Conversation

@dtolnay

@dtolnay dtolnay commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

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.

@seanmonstar
seanmonstar merged commit 74a3908 into hyperium:master Sep 15, 2026
23 checks passed
@dtolnay
dtolnay deleted the hop branch September 15, 2026 19:19
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

3 participants