diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-01-26 23:02:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-01-26 23:02:13 +0000 |
commit | 83e91586ef311072c0727bb97efecfeba4294775 (patch) | |
tree | 51a4d5e39ea18130c3f21d6bae16dfb49b62c3fd /docs/libcurl | |
parent | c82a1f95ebec3bd7e9da3df0a36dfaf7c9ae5ff9 (diff) |
no need to take precautiono for how things were before 7.16.0 since that
is now a very long time ago
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_multi_fdset.3 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/docs/libcurl/curl_multi_fdset.3 b/docs/libcurl/curl_multi_fdset.3 index 9b06a3c08..1fdf3dbfd 100644 --- a/docs/libcurl/curl_multi_fdset.3 +++ b/docs/libcurl/curl_multi_fdset.3 @@ -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 libcurl set. -You should also be aware that when doing select(), you should consider using a -rather small (single-digit number of seconds) timeout and call -\fIcurl_multi_perform\fP regularly - even if no activity has been seen on the -fd_sets - as otherwise libcurl-internal retries and timeouts may not work as -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. +When doing select(), you should use \fBcurl_multi_timeout\fP to figure out how +long to wait for action. Call \fIcurl_multi_perform\fP even if no activity has +been seen on the fd_sets after the timeout expires as otherwise internal +retries and timeouts may not work as you'd think and want. .SH RETURN VALUE CURLMcode type, general libcurl multi interface error code. See \fIlibcurl-errors(3)\fP |