SysTutorials

Linux Manual Pages › Section 3

curlopt_low_speed_time(3)

CURLOPT_LOW_SPEED_TIME – set low speed limit time period

Synopsis

#include <curl/curl.h>

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_LOW_SPEED_TIME, long speedtime);

Description

Pass 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.

Default

0, disabled

Protocols

All

Example

TODO

Availability

Always

Return Value

Returns CURLE_OK

See Also

CURLOPT_LOW_SPEED_LIMIT(3), CURLOPT_TIMEOUT(3),