mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
speedlimit: also reset on send unpausing
The low speedlimit currently counts both up- and download speed accumulated. So, when unpausing upload, also reset the counter. Closes #19687
This commit is contained in:
parent
6069c340b4
commit
ba65073037
3 changed files with 11 additions and 1 deletions
|
|
@ -59,8 +59,9 @@ void Curl_pgrsUpdate_nometer(struct Curl_easy *data);
|
|||
/* perform progress update with callbacks and speed checks */
|
||||
CURLcode Curl_pgrsCheck(struct Curl_easy *data);
|
||||
|
||||
/* Inform progress/speedcheck about receive pausing */
|
||||
/* Inform progress/speedcheck about receive/send pausing */
|
||||
void Curl_pgrsRecvPause(struct Curl_easy *data, bool enable);
|
||||
void Curl_pgrsSendPause(struct Curl_easy *data, bool enable);
|
||||
|
||||
/* Reset sizes and couners for up- and download. */
|
||||
void Curl_pgrsReset(struct Curl_easy *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue