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
curl 8.16 breaks http2 transfers with writefunc pausing #19334
the Lix transfer code uses curl with http2 at very high concurrency for transfers. with the curl 8.16 release we've seen transfers fail with CURLE_WRITE_ERROR when using http2 as the transport. we've bisected this to fa9151b: with this patch applied our code sees transfers die with write errors when they try to pause themselves. using the commit prior to fa9151b resolves the issue, not pausing any transfers also resolves the issue. curl 8.15 and earlier work fine.
we haven't managed to extract a reliable reproducer from our code. the only reliable reproducer we have so far is to download many things concurrently under rr chaos mode. since it's related to pausing of transfers we'd guess that it's caused by the refactor returning CURLE_AGAIN internally rather than the previous CURLE_OK when transfers are paused, but we haven't verified that.
I expected the following
transfers to not die with write errors when paused
Activity
bagder commentedon Nov 3, 2025
Did you also try with something like 8.17.0-rc3 or a recent git master to verify that the problem still exists?
cw-out: fix EAGAIN handling on pause
icing commentedon Nov 3, 2025
Could you check if #19338 solves your issue? Thanks!
pennae commentedon Nov 3, 2025
we had tested -rc3, that was still broken. hadn't tested master that point. we did that now though and master before #19338 is also affected.
that does fix the issue in every test we've done so far. thank you for the quick response! looking forward to 8.16.1 :)
bagder commentedon Nov 3, 2025
8.17.0 ships in two days...
cw-out: fix EAGAIN handling on pause
libstore: fix curl version check to allow 8.17.0
libstore: fix curl version check syntax to allow 8.17.0