diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-12-22 09:54:06 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-22 13:51:07 +0100 |
commit | ac9a7245fc503a8d46871ab2bf1a7321392b9cda (patch) | |
tree | ef0642c63f6b28351d57eba35a06fe08ccb9d2d5 /docs | |
parent | c7f95fa0cc252167cb210e1c0ab4f8bbabc1c371 (diff) | |
download | curl-ac9a7245fc503a8d46871ab2bf1a7321392b9cda.tar.gz |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/curl_easy_pause.3 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_pause.3 b/docs/libcurl/curl_easy_pause.3 index 0c1edb444..ab8258380 100644 --- a/docs/libcurl/curl_easy_pause.3 +++ b/docs/libcurl/curl_easy_pause.3 @@ -49,6 +49,10 @@ will get your write callback called before this function returns. The \fBhandle\fP argument is of course identifying the handle that operates on the connection you want to pause or unpause. +A paused transfer is excluded from low speed cancels via the +\fBCURLOPT_LOW_SPEED_LIMIT(3)\fP option and unpausing a transfer will reset +the time period required for the low speed limit to be met. + The \fBbitmask\fP argument is a set of bits that sets the new state of the connection. The following bits can be used: .IP CURLPAUSE_RECV |