Date: 08/30/01
- Next message: eiji <email protected>: "[PHP-DEV] Bug #9564 Updated: wrong increment nrdels in PS_GC_FUNC(mm)"
- Previous message: admin <email protected>: "[PHP-DEV] Bug #13060: "allow_url_fopen = On" disables safe_mode UID check"
- Next in thread: bastian <email protected>: "[PHP-DEV] Bug #13061 Updated: connection-timeout doesn't work"
- Reply: bastian <email protected>: "[PHP-DEV] Bug #13061 Updated: connection-timeout doesn't work"
- Reply: bastian <email protected>: "[PHP-DEV] Bug #13061 Updated: connection-timeout does work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: bastian <email protected>
Operating system: Linux 2.2.18
PHP version: 4.0.6
PHP Bug Type: Sockets related
Bug description: connection-timeout doesn't work
I have the same problem using php and linux.
Here is my Code:
$server = "www.microsoft.com";
$start = time();
$fp=fsockopen($server,111,&$errno,&$errstr,30);
echo time()-$start."\n";
Being executed with php as binary (cgi) on the commandline
Cause on www.microsoft.com there no port 111 open, the connection can't
succeed, but php should stop the connection-attempt after 30s (the
timeout). It's doesn't, it always waits 789s. The is pretty annoying.
-- Edit bug report at: http://bugs.php.net/?id=13061&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: eiji <email protected>: "[PHP-DEV] Bug #9564 Updated: wrong increment nrdels in PS_GC_FUNC(mm)"
- Previous message: admin <email protected>: "[PHP-DEV] Bug #13060: "allow_url_fopen = On" disables safe_mode UID check"
- Next in thread: bastian <email protected>: "[PHP-DEV] Bug #13061 Updated: connection-timeout doesn't work"
- Reply: bastian <email protected>: "[PHP-DEV] Bug #13061 Updated: connection-timeout doesn't work"
- Reply: bastian <email protected>: "[PHP-DEV] Bug #13061 Updated: connection-timeout does work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

