diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-03-13 16:13:56 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-03-16 23:45:59 +0100 |
commit | 7f9ce0851a194dc725603993707342b7e158174e (patch) | |
tree | 7cdf08ad9f30631db8b263944366a3d2243b6ea4 /tests/unit/unit1300.c | |
parent | 2404aa080e1cc62634b44091f58737d2c618e361 (diff) |
multi: improved pending transfers handling => improved performance
When a transfer is requested to get done and it is put in the pending
queue when limited by number of connections, total or per-host, libcurl
would previously very aggressively retry *ALL* pending transfers to get
them transferring. That was very time consuming.
By reducing the aggressiveness in how pending are being retried, we
waste MUCH less time on putting transfers back into pending again.
Some test cases got a factor 30(!) speed improvement with this change.
Reported-by: Cyril B
Fixes #2369
Closes #2383
Diffstat (limited to 'tests/unit/unit1300.c')
0 files changed, 0 insertions, 0 deletions