#24495 [Opn->Bgs]: stream_socket_accept() timeout
| From: | sterling@php.net | Date: | Sat, 05 Jul 2003 15:11:32 +0000 |
| Subject: | #24495 [Opn->Bgs]: stream_socket_accept() timeout | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43297@lists.php.net to get a copy of this message | ||
ID: 24495
Updated by: sterling@php.net
Reported By: fiderallalla at fiderallalla dot de
-Status: Open
+Status: Bogus
Bug Type: Sockets related
Operating System: suse linux 8.1
PHP Version: 5.0.0b1 (beta1)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Blegh.
Previous Comments:
------------------------------------------------------------------------
[2003-07-04 08:22:54] fiderallalla at fiderallalla dot de
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 this bug report at http://bugs.php.net/?id=24495&edit=1