![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_LOW_SPEED_TIME - low speed limit time period SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_LOW_SPEED_TIME, DESCRIPTIONPass a long as parameter. It contains the time in number seconds that the transfer speed should be below the CURLOPT_LOW_SPEED_LIMIT(3) for the library to consider it 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_LIMIT(3), CURLOPT_TIMEOUT(3)
|