curl_easy_setopt.3: clarify that TIMEOUT and TIMEOUT_MS set the same value

This commit is contained in:
Daniel Stenberg 2013-09-20 23:16:04 +02:00
parent fcfa26a7ee
commit af44da38d6

View File

@ -2162,10 +2162,14 @@ In unix-like systems, this might cause signals to be used unless
Default timeout is 0 (zero) which means it never times out. Default timeout is 0 (zero) which means it never times out.
.IP CURLOPT_TIMEOUT_MS .IP CURLOPT_TIMEOUT_MS
Like \fICURLOPT_TIMEOUT\fP but takes number of milliseconds instead. If An alternative to \fICURLOPT_TIMEOUT\fP but takes number of milliseconds
libcurl is built to use the standard system name resolver, that portion instead. If libcurl is built to use the standard system name resolver, that
of the transfer will still use full-second resolution for timeouts with portion of the transfer will still use full-second resolution for timeouts
a minimum timeout allowed of one second. with a minimum timeout allowed of one second.
If both \fICURLOPT_TIMEOUT\fP and \fICURLOPT_TIMEOUT_MS\fP are set, the value
set last will be used.
(Added in 7.16.2) (Added in 7.16.2)
.IP CURLOPT_LOW_SPEED_LIMIT .IP CURLOPT_LOW_SPEED_LIMIT
Pass a long as parameter. It contains the transfer speed in bytes per second Pass a long as parameter. It contains the transfer speed in bytes per second