Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #265261

Category curl
Changed by Stefan Eissing <stefanohnoyoudont@eissing.org>
Changed at Thu 23 Apr 2026 15:55:07
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision 00cac453c7955d8a3894772e02029bb8b65a2c12

Comments

multi: enhance pending handles fairness
When trying to connect a pending transfer, remember the `mid` that was
last reactivated and start looking for future pending handles from the
last one forward through the pending bitset.

Background: when many pending handles exist, iterating the bitset always
from the start may become unfair to transfers that were assigned higher
`mid` values.

Fixes #21396
Reported-by: Juan Belón
Closes #21412

Changed files