mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
no need to take precautiono for how things were before 7.16.0 since that
is now a very long time ago
This commit is contained in:
parent
c82a1f95eb
commit
83e91586ef
@ -30,14 +30,10 @@ If no file descriptors are set by libcurl, \fImax_fd\fP will contain -1 when
|
|||||||
this function returns. Otherwise it will contain the higher descriptor number
|
this function returns. Otherwise it will contain the higher descriptor number
|
||||||
libcurl set.
|
libcurl set.
|
||||||
|
|
||||||
You should also be aware that when doing select(), you should consider using a
|
When doing select(), you should use \fBcurl_multi_timeout\fP to figure out how
|
||||||
rather small (single-digit number of seconds) timeout and call
|
long to wait for action. Call \fIcurl_multi_perform\fP even if no activity has
|
||||||
\fIcurl_multi_perform\fP regularly - even if no activity has been seen on the
|
been seen on the fd_sets after the timeout expires as otherwise internal
|
||||||
fd_sets - as otherwise libcurl-internal retries and timeouts may not work as
|
retries and timeouts may not work as you'd think and want.
|
||||||
you'd think and want.
|
|
||||||
|
|
||||||
Starting with libcurl 7.16.0, you should use \fBcurl_multi_timeout\fP to
|
|
||||||
figure out how long to wait for action.
|
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
CURLMcode type, general libcurl multi interface error code. See
|
CURLMcode type, general libcurl multi interface error code. See
|
||||||
\fIlibcurl-errors(3)\fP
|
\fIlibcurl-errors(3)\fP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user