ID: 42531 User updated by: nicolac76 at yahoo dot fr Reported By: nicolac76 at yahoo dot fr Status: Open Bug Type: cURL related Operating System: Windows XP PHP Version: 5.2.4 New Comment:
I change only the post options... I need too read many time the same page with different post... Previous Comments: ------------------------------------------------------------------------ [2007-09-03 13:29:19] [EMAIL PROTECTED] I just have to ask: WHY do you do something like this anyway?! ------------------------------------------------------------------------ [2007-09-03 13:06:58] nicolac76 at yahoo dot fr Description: ------------ If we doing a for on a curl_multi_add_handle, Apache shut down without reason... We can do 127 time, but no 128 (0111 111b)... The problem come from the function not from the variable $i ! Reproduce code: --------------- <? $mh=curl_multi_init(); $ch = curl_init('http://www.example.com'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); for($i = 1; $i <= 128; $i++) { $conn[$i] = curl_copy_handle($ch); curl_multi_add_handle ($mh,$conn[$i]); } ... ?> Expected result: ---------------- No error Actual result: -------------- An error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42531&edit=1