]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
note about the need for extra functions set to OpenSSL if you use OpenSSL
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 16:17:25 +0000 (16:17 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 16:17:25 +0000 (16:17 +0000)
multi-threaded

docs/libcurl-the-guide

index 6fe959459cd97dcd8c8a0be3f06d0dbc51d67e0b..ec9e2913a24a803f05111f7189e8ecd537a3e6f9 100644 (file)
@@ -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