Skip to content

[Backport 2.34-maintenance] libstore: Fix libcurl thread wakeup with curl >= 8.21 - #16091

Merged
internal-nix-ci[bot] merged 1 commit into
2.34-maintenancefrom
backport-16090-to-2.34-maintenance
Jul 1, 2026
Merged

internal-nix-ci[bot] merged 1 commit into
2.34-maintenancefrom
backport-16090-to-2.34-maintenance

Conversation

@internal-nix-ci

Copy link
Copy Markdown

Automatic backport to 2.34-maintenance, triggered by a label in #16090.

Since curl/curl@2a2104f
libcurl now swallows events in curl_multi_perform, so there's a chance that we miss
a wakeup.

This is somewhat reproducible on my machine by doing nix flake prefetch https://channels.nixos.org/nixos-25.11/nixexprs.tar.xz.

Another option is to bring back our own wakeup pipe, but that's less portable.
Ideally this regression would be fixed in libcurl too...

(cherry picked from commit 0d0c333)
@internal-nix-ci
internal-nix-ci Bot requested a review from Ericson2314 as a code owner July 1, 2026 19:37
@internal-nix-ci
internal-nix-ci Bot enabled auto-merge July 1, 2026 19:37
@internal-nix-ci
internal-nix-ci Bot merged commit f3f1c3c into 2.34-maintenance Jul 1, 2026
15 checks passed
@internal-nix-ci
internal-nix-ci Bot deleted the backport-16090-to-2.34-maintenance branch July 1, 2026 20:22
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.

1 participant