![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_LOW_SPEED_LIMIT - low speed limit in bytes per second SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_LOW_SPEED_LIMIT, DESCRIPTIONPass a long as parameter. It contains the average transfer speed in bytes per second that the transfer should be below during CURLOPT_LOW_SPEED_TIME(3) seconds for libcurl to consider it to be too slow and abort. DEFAULT0, disabled PROTOCOLSThis functionality affects all supported protocols EXAMPLEint main(void) { AVAILABILITYAdded in curl 7.1 RETURN VALUEcurl_easy_setopt(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLOPT_LOW_SPEED_TIME(3), CURLOPT_MAX_RECV_SPEED_LARGE(3), CURLOPT_MAX_SEND_SPEED_LARGE(3), CURLOPT_TIMEOUT(3)
|