ID: 38620 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: cURL related Operating System: Debian Sarge PHP Version: 5.1.5 New Comment:
because i tested it on 3 different systems each on a different provider. always the same result, in every curl_multi_init the first 4 inits work the rest gets a timeout. to get sure its not a resolving limit or something i put up a test script that i started 20 times at the same time with a small bash script an screen. the 20 scripts using only 4 sockets per perl init. but they working perfectly. makes sure that theres no limit at the provider or on the machines for resolving domains or whatever. so there must be a problem in the curl_multi functions... dont know where or what but it is a bug. Previous Comments: ------------------------------------------------------------------------ [2006-08-28 06:47:15] [EMAIL PROTECTED] And why do you think it's a PHP problem? ------------------------------------------------------------------------ [2006-08-28 01:08:48] [EMAIL PROTECTED] Description: ------------ try the example code on the function.curl-multi-exec page in the manual with 20 different hosts (cnn, yahoo, blogspot, ask.com, etc.) it always returns 4 max. 6 sockets every after these connects giving a timeout. on the same host you ca force every number of sockets you want but on different you get a timeout after max. 6 sockets. (i tried it on 3 different machines each hosted on a different provider) Reproduce code: --------------- see the example code in the comments on the function.curl-multi-exec page in the manual. Expected result: ---------------- first 4-6 sockets get a page every socket after the first 4-6 bring back a timeout. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38620&edit=1