Bug #62641 [NEW]: curl_multi times out
From: jimi_barka at yahoo dot com
Operating system: Windows 7
PHP version: 5.4.5
Package: cURL related
Bug Type: Bug
Bug description:curl_multi times out
Description:
------------
Running the sample script provided here:
http://php.net/manual/en/function.curl-multi-init.php
results in a timeout.
This bug is not present in version 5.3.8, but does appear in 5.4.0 and in
later versions, including version 5.4.5.
PHP info (excerpt):
System Windows NT 6.1 build 7601 (Windows 7 Business Edition Service Pack
1) i586
Build Date Jul 18 2012 22:21:56
Compiler MSVC9 (Visual C++ 2008)
Architecture x86
Configure Command cscript /nologo configure.js "--enable-snapshot-build"
"--disable-isapi" "--enable-debug-pack" "--without-mssql"
"--without-pdo-mssql" "--without-pi3web"
"--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared"
"--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared"
"--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared"
"--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared"
"--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
Apache Version Apache/2.2.22 (Win32) PHP/5.4.5
Binaries from
http://windows.php.net/downloads/releases/php-5.4.5-Win32-VC9-x86.zip
Test script:
---------------
http://php.net/manual/en/function.curl-multi-init.php
Example #1 curl_multi_init() example
Expected result:
----------------
Display contents of http://lxr.php.net/ and http://www.php.net/
Actual result:
--------------
Script times out with a message:
Fatal error: Maximum execution time of 30 seconds exceeded in
E:\www\curl.php on line 26
--
Edit bug report at https://bugs.php.net/bug.php?id=62641&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62641&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62641&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62641&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62641&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62641&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62641&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62641&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62641&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62641&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62641&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62641&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62641&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62641&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62641&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62641&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62641&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62641&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62641&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62641&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62641&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62641&r=mysqlcfg
Thread (2 messages)
- jimi_barka at yahoo dot com