Skip to content

[Backport 2.33-maintenance] fix: #15208#15220

Merged
internal-nix-ci[bot] merged 2 commits into2.33-maintenancefrom
backport-15216-to-2.33-maintenance
Feb 13, 2026
Merged

[Backport 2.33-maintenance] fix: #15208#15220
internal-nix-ci[bot] merged 2 commits into2.33-maintenancefrom
backport-15216-to-2.33-maintenance

Conversation

@internal-nix-ci
Copy link

Automatic backport to 2.33-maintenance, triggered by a label in #15216.

Idle connections in libcurl's connection pool can be silently dropped by
the OS or intermediate firewalls/NATs before they can be reused, forcing
new TCP connections to be created. This is especially problematic for
HTTP/1.1 endpoints where multiplexing is unavailable.

Enable TCP keep-alive with a 60-second idle/interval on all curl easy
handles to prevent idle connection drops and improve connection reuse.

(cherry picked from commit 736abd5)
…tyle option

S3 binary caches now use virtual-hosted-style URLs by default for
standard AWS endpoints. Path-style endpoints (s3.region.amazonaws.com)
only serve HTTP/1.1, preventing HTTP/2 multiplexing and causing TCP
TIME_WAIT socket exhaustion under high concurrency. Virtual-hosted-style
endpoints (bucket.s3.region.amazonaws.com) support HTTP/2, enabling
multiplexing with the existing CURLPIPE_MULTIPLEX configuration.

Add a new `addressing-style` store option (auto/path/virtual) to control
this behavior. `auto` (default) uses virtual-hosted-style for standard
AWS endpoints and path-style for custom endpoints. `path` forces
path-style for backwards compatibility. `virtual` forces virtual-hosted-
style for all endpoints including custom ones.

Fixes: #15208
(cherry picked from commit 759f6c8)
@internal-nix-ci internal-nix-ci bot enabled auto-merge February 13, 2026 01:44
@internal-nix-ci internal-nix-ci bot mentioned this pull request Feb 13, 2026
@internal-nix-ci internal-nix-ci bot merged commit 48bbd96 into 2.33-maintenance Feb 13, 2026
19 checks passed
@internal-nix-ci internal-nix-ci bot deleted the backport-15216-to-2.33-maintenance branch February 13, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant