#20397 [NEW]: UDP connections dont respect Timeouts on Reads
| From: | xf_vito at hotmail dot com | Date: | Tue, 12 Nov 2002 17:33:34 +0000 |
| Subject: | #20397 [NEW]: UDP connections dont respect Timeouts on Reads | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-24722@lists.php.net to get a copy of this message | ||
From: xf_vito@hotmail.com
Operating system: linux
PHP version: 4.2.3
PHP Bug Type: Sockets related
Bug description: UDP connections dont respect Timeouts on Reads
I create a udp connection using fsockopen and before all my reads I set a
socket timeout. The timeouts are never respected, because if this
situation arises, I time out with FATAL ERROR: timed out greater than 30
sec msg from the server.
I want to be able to catch this before reaching the FATAL ERROR.
The behaviour can be seen at our website http://www.xtreme-forces.com
Click on the SERVERS button to see the page in action. 60% of the time it
works great rest it will Fatal, hit the Refresh to cause the error to
occur quicker.
I can make the code available upon request.
thanks
Vito
--
Edit bug report at http://bugs.php.net/?id=20397&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20397&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20397&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20397&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20397&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20397&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20397&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20397&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20397&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20397&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20397&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20397&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20397&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20397&r=isapi