#33760 [Asn->Csd]: cURL needs to implement CRYPTO_callback functions to prevent locking

From: Date: Tue, 25 Oct 2005 14:46:29 +0000
Subject: #33760 [Asn->Csd]: cURL needs to implement CRYPTO_callback functions to prevent locking
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87020@lists.php.net to get a copy of this message
ID: 33760 Updated by: mike@php.net Reported By: eja40 at cam dot ac dot uk -Status: Assigned +Status: Closed Bug Type: cURL related Operating System: * PHP Version: 5CVS, 4CVS, 6CVS Assigned To: mike New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-10-24 10:27:26] mike@php.net Ah, I forgot to mention that the GnuTLS implementation is quite academic, i.e. untested. ------------------------------------------------------------------------ [2005-10-24 10:10:33] mike@php.net Patch against PHP_5_1: http://dev.iworks.at/PATCHES/curl_ssl_tsl.diff.txt ------------------------------------------------------------------------ [2005-10-24 00:09:10] edink@php.net Mike, since you got this thing to work with pecl/http could you have a look at implementing the callbacks in the curl extension? ------------------------------------------------------------------------ [2005-07-28 00:46:46] daniel-curl at haxx dot se This is clearly documented in the libcurl tutorial and has been required by libcurl for years. Available online here: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading Certainly we are open for other/new solutions, but that doesn't fix this problem for you for older libcurl installations. ------------------------------------------------------------------------ [2005-07-20 15:18:08] eja40 at cam dot ac dot uk To help flesh out this problem and the solution - the example OpenSSL locking code is given by cURL here: http://curl.haxx.se/lxr/source/docs/examples/opensslthreadlock.c ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33760 -- Edit this bug report at http://bugs.php.net/?id=33760&edit=1

« previous php.bugs (#87020) next »