#38620 [NEW]: timeout after 4-6 socket connects on different hosts
From: tobsn@php.net
Operating system: Debian Sarge
PHP version: 5.1.5
PHP Bug Type: cURL related
Bug description: timeout after 4-6 socket connects on different hosts
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 bug report at http://bugs.php.net/?id=38620&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38620&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38620&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38620&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38620&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38620&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38620&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38620&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38620&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38620&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38620&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38620&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38620&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38620&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38620&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38620&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38620&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38620&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38620&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38620&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38620&r=mysqlcfg
Thread (18 messages)
- tobsn@php.net
- tony2001@php.net#38620 [Opn->Fbk]: timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk]: timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk]: timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk]: timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk->Opn]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tony2001@php.net#38620 [Opn->Fbk]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk->Opn]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- mike@php.net#38620 [Opn->Bgs]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Bgs->Opn]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- mike@php.net#38620 [Opn->Fbk]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk->Opn]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Opn]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- mike@php.net#38620 [Opn->Fbk]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- tobsn@php.net#38620 [Fbk->Opn]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- bjori@php.net#38620 [Opn->Fbk]: curl_multi_* - timeout after 4-6 socket connects on different hosts
- mike@php.net#38620 [Fbk]: curl_multi_* - timeout after 4-6 socket connects on different hosts