1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

libcurl-thread.3: Clarify CURLOPT_NOSIGNAL takes long value 1L

This commit is contained in:
Jay Satiro 2015-07-29 02:05:32 -04:00
parent b656715da3
commit 467309406e

View File

@ -84,9 +84,9 @@ You may need to provide one or two functions to allow it to function properly:
\fBSignals.\fP Signals are used for timing out name resolves (during DNS \fBSignals.\fP Signals are used for timing out name resolves (during DNS
lookup) - when built without using either the c-ares or threaded resolver lookup) - when built without using either the c-ares or threaded resolver
backends. When using multiple threads you should set the backends. When using multiple threads you should set the
\fICURLOPT_NOSIGNAL(3)\fP option to 1 for all handles. Everything will or might \fICURLOPT_NOSIGNAL(3)\fP option to 1L for all handles. Everything will or
work fine except that timeouts are not honored during the DNS lookup - which might work fine except that timeouts are not honored during the DNS lookup -
you can work around by building libcurl with c-ares support. c-ares is a which you can work around by building libcurl with c-ares support. c-ares is a
library that provides asynchronous name resolves. On some platforms, libcurl library that provides asynchronous name resolves. On some platforms, libcurl
simply will not function properly multi-threaded unless this option is set. simply will not function properly multi-threaded unless this option is set.