Edit report at http://bugs.php.net/bug.php?id=53578&edit=1

 ID:                 53578
 Comment by:         tanguy dot pruvot at gmail dot com
 Reported by:        tanguy dot pruvot at gmail dot com
 Summary:            php_curl init time (3 big seconds)
 Status:             Open
 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:

>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.


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to