From: Daniel Stenberg Date: Thu, 22 Aug 2002 19:45:22 +0000 (+0000) Subject: Markus F.X.J. Oberhumer's added notes about NOSIGNAL in the TIMEOUT X-Git-Tag: curl-7_10~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a0bc64226c06b1e83b44f9fa53b3ff8458d67e7;p=thirdparty%2Fcurl.git Markus F.X.J. Oberhumer's added notes about NOSIGNAL in the TIMEOUT descriptions, slightly edited by me. --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index e467768aa3..b0b32e9a3f 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -276,8 +276,8 @@ considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. This option will cause curl to use the SIGALRM to enable time-outing system calls. -\fBNOTE:\fP this does not work in Unix multi-threaded programs, as it uses -signals. +\fBNOTE:\fP this is not recommended to use in unix multi-threaded programs, as +it uses signals unless CURLOPT_NOSIGNAL (see below) is set. .TP .B CURLOPT_POSTFIELDS Pass a char * as parameter, which should be the full data to post in a HTTP @@ -625,8 +625,8 @@ it has connected, this option is of no more use. Set to zero to disable connection timeout (it will then only timeout on the system's internal timeouts). See also the \fICURLOPT_TIMEOUT\fP option. -\fBNOTE:\fP this does not work in unix multi-threaded programs, as it uses -signals. +\fBNOTE:\fP this is not recommended to use in unix multi-threaded programs, as +it uses signals unless CURLOPT_NOSIGNAL (see below) is set. .TP .B CURLOPT_HTTPGET Pass a long. If the long is non-zero, this forces the HTTP request to get back