#24495 [NEW]: stream_socket_accept() timeout
| From: | fiderallalla at fiderallalla dot de | Date: | Fri, 04 Jul 2003 13:22:54 +0000 |
| Subject: | #24495 [NEW]: stream_socket_accept() timeout | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-43265@lists.php.net to get a copy of this message | ||
From: fiderallalla at fiderallalla dot de
Operating system: suse linux 8.1
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: Sockets related
Bug description: stream_socket_accept() timeout
Description:
------------
Hi,
in my opinion, the timeout for stream_socket_accept() should be handled
the same way as in other functions (f.e. set_time_limit). That means, that
a timeout of:
5 - would result in a timout of 5 seconds,
0 - would disable a timeout.
In the moment we have to give a timeout of -1 to have no timeout. If we
give a timeout of 0 - we have a timeout of 0 seconds (Where's the
sense??).
There could be an additional explanation of the timeout-feature in the
documentation of this function as it is done at the documentation of
set_time_limit().
Best regards,
Hans Kuhlen
--
Edit bug report at http://bugs.php.net/?id=24495&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24495&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24495&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24495&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24495&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24495&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24495&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24495&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24495&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24495&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24495&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24495&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24495&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24495&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24495&r=gnused