#33760 [Bgs->Opn]: cURL needs to implement CRYPTO_callback functions to prevent locking
| From: | eja40 at cam dot ac dot uk | Date: | Wed, 20 Jul 2005 13:13:00 +0000 |
| Subject: | #33760 [Bgs->Opn]: cURL needs to implement CRYPTO_callback functions to prevent locking | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82212@lists.php.net to get a copy of this message | ||
ID: 33760
User updated by: eja40 at cam dot ac dot uk
-Reported By: dev at null dot com
+Reported By: eja40 at cam dot ac dot uk
-Status: Bogus
+Status: Open
Bug Type: cURL related
Operating System: Redhat 9
PHP Version: 5.0.4
New Comment:
Sorry I don't know how to patch it myself.
However cURL insist that this must be implemented at the highest thread
level - it cannot be implemented in libcurl (I don't understand why).
Therefore it must be implemented in the PHP code.
Previous Comments:
------------------------------------------------------------------------
[2005-07-19 00:56:53] sniper@php.net
This goes to /dev/null unless you come up with:
a) real email address
b) patch
And I think this is actually something for Curl to fix, not PHP.
------------------------------------------------------------------------
[2005-07-19 00:48:46] eja40 at cam dot ac dot uk
Description:
------------
I am experiencing problems when using multi-threaded cURL requests.
When I have more than about 5 threads connecting using HTTPS, all
subsequent threads fail to connect (regardless of the timeout used).
I presume this is because PHP hasn't implemented the CRYPTO_callback
functions to prevent OpenSSL locking.
Sorry I have no idea how to implement this fix myself - but the
solution to the problem is elaborated here:
http://curl.haxx.se/mail/lib-2004-06/0086.html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33760&edit=1