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

 ID:                 62085
 Updated by:         [email protected]
 Reported by:        shengdong01 at 163 dot com
 Summary:            file_get_contents a remote file by Curl wrapper will
                     cause cpu Soaring
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            cURL related
 Operating System:   linux
 PHP Version:        5.3.13
-Assigned To:        
+Assigned To:        pierrick
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

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

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-05-21 05:06:22] shengdong01 at 163 dot com

Description:
------------
client script:
<?php
   file_get_contents("http://localhost:8080/slow.php";);


server script

<?php
/*slow.php*/
sleep(10);
echo "this is slow.php";

Test script:
---------------
client script:
<?php
   file_get_contents("http://localhost:8080/slow.php";);


server script

<?php
/*slow.php*/
sleep(10);
echo "this is slow.php";


Expected result:
----------------
the cpu idle is still high

Actual result:
--------------
the cpu idle is still high,not slow any more


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62085&edit=1

Reply via email to