Skip to content

Use curl MAX_HOST_CONNECTIONS to manage request queues

Add uploads/downloads directly to the processingRequests queue and use the CURLMOPT_MAX_HOST_CONNECTIONS feature to limit the number of connections instead of having a queuedRequests queue in the CurlHandle. This simplifies the implementation and avoids a case where requests were not moved from the queuedRequests to the pendingRequests when there were cancellations.

Merge request reports

Loading