Bug #53578 [Opn->Fbk]: php_curl init time (3 big seconds)
| From: | pajoye@php.net | Date: | Mon, 20 Dec 2010 00:31:33 +0000 |
| Subject: | Bug #53578 [Opn->Fbk]: php_curl init time (3 big seconds) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157099@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53578&edit=1
ID: 53578
Updated by: pajoye@php.net
Reported by: tanguy dot pruvot at gmail dot com
Summary: php_curl init time (3 big seconds)
-Status: Open
+Status: Feedback
Type: Bug
Package: cURL related
Operating System: Win7 x86
PHP Version: 5.3.4 (Since 5.2.14/5.3)
Block user comment: N
Private report: N
New Comment:
This has been fixed in 5.3.4 (I patched curl). Which versions and builds
do you use exactly?
Previous Comments:
------------------------------------------------------------------------
[2010-12-20 01:03:56] tanguy dot pruvot at gmail dot com
From OpenSSL 0.9.8q Sources :
The RAND_screen() function is available for the convenience of Windows
programmers. It adds the current contents of the screen to the PRNG.
For applications that can catch Windows events, seeding the PRNG by
calling RAND_event() is a significantly better source of
randomness. It should be noted that both methods cannot be used on
servers that run without user interaction.
------------------------------------------------------------------------
[2010-12-20 00:58:33] tanguy dot pruvot at gmail dot com
The last known good version was 5.2.13 (which is faster than 3 seconds
but adds a
slow delay)
------------------------------------------------------------------------
[2010-12-20 00:53:52] tanguy dot pruvot at gmail dot com
Description:
------------
I reopen this issue because all others (since 2 years) have been closed
without
resolution...
"php -m" with php_curl : 3 seconds on a SSD disk
"php -m" without curl : instant output
Please read the previous answers, seems related to libeay32 RAND
function ...
http://bugs.php.net/bug.php?id=50410 #50410
Test script:
---------------
php -m
Expected result:
----------------
0 seconds
Actual result:
--------------
3 seconds
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53578&edit=1