aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-29 16:17:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-29 16:17:25 +0000
commit7052598e599798b0cc06c96e75cd1d187986cf0a (patch)
tree9256bd71393f9f44300f56d485d5089eeca29cc2 /docs
parentab52e20832726fc3f9d130fa23b8eae0949ad331 (diff)
note about the need for extra functions set to OpenSSL if you use OpenSSL
multi-threaded
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl-the-guide9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/libcurl-the-guide b/docs/libcurl-the-guide
index 6fe959459..ec9e2913a 100644
--- a/docs/libcurl-the-guide
+++ b/docs/libcurl-the-guide
@@ -222,7 +222,14 @@ Multi-threading issues
handlers. Signals are needed for a SIGPIPE handler, and the alarm() syscall
is used to catch timeouts (mostly during DNS lookup).
- So when using multiple threads you should first ignore SIGPIPE in your main
+ If you are accessing HTTPS or FTPS URLs in a multi-threaded manner, you are
+ then of course using OpenSSL multi-threaded and it has itself a few
+ requirements on this. Basicly, you need to provide one or two functions to
+ allow it to function properly. For all details, see this:
+
+ http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION
+
+ When using multiple threads you should first ignore SIGPIPE in your main
thread and set the CURLOPT_NOSIGNAL option to TRUE for all handles.
Everything will work fine except that timeouts are not honored during the DNS