|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-03 13:29 UTC] jani@php.net
[2007-09-03 13:46 UTC] nicolac76 at yahoo dot fr
[2007-11-16 14:23 UTC] jani@php.net
[2007-11-24 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 00:00:01 2025 UTC |
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