-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
I did this
Used CURL_WRITEFUNC_PAUSE (or curl_easy_pause) to pause a connection. CURLOPT_LOW_SPEED_LIMIT gets triggered once the download speed falls below the limit.
I expected the following
CURLOPT_LOW_SPEED_LIMIT not being triggered since I'm willingly in a paused state. Probably the paused connection should not be accounted in speed calculation while being paused.
curl/libcurl version
curl 7.74.0 (x86_64-apple-darwin20.1.0) libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 zstd/1.4.7 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0)
Release-Date: 2020-12-09
Protocols: dict file ftp ftps gopher http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL TLS-SRP UnixSockets zstd
operating system
Darwin hostnamel 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64