]> git.ipfire.org Git - thirdparty/curl.git/commit
speedcheck: exclude paused transfers
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Dec 2020 08:54:06 +0000 (09:54 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Dec 2020 12:51:07 +0000 (13:51 +0100)
commitac9a7245fc503a8d46871ab2bf1a7321392b9cda
treeef0642c63f6b28351d57eba35a06fe08ccb9d2d5
parentc7f95fa0cc252167cb210e1c0ab4f8bbabc1c371
speedcheck: exclude paused transfers

Paused transfers should not be stopped due to slow speed even when
CURLOPT_LOW_SPEED_LIMIT is set. Additionally, the slow speed timer is
now reset when the transfer is unpaused - as otherwise it would easily
just trigger immediately after unpausing.

Reported-by: Harry Sintonen
Fixes #6358
Closes #6359
docs/libcurl/curl_easy_pause.3
lib/easy.c
lib/speedcheck.c