#23838 [NEW]: stream_select() not functioning properly
| From: | dietrich dot ayala at foundstone dot com | Date: | Tue, 27 May 2003 17:57:20 +0000 |
| Subject: | #23838 [NEW]: stream_select() not functioning properly | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40512@lists.php.net to get a copy of this message | ||
From: dietrich dot ayala at foundstone dot com
Operating system: windows 2000
PHP version: 4.3.2RC4
PHP Bug Type: Sockets related
Bug description: stream_select() not functioning properly
1. it doesn't seem to be doing non-busy waits. If the remote host takes a
long time to respond, the CPU is still maxed until a response is
received.
2. I've had repeatable situations where the server returned a response
right away, but stream_select() didn't return for (in our repeatable case)
10 mins. What's it's criteria for responding? What will it do if I pass a
stream to it, which has already had everything read from it, but is
persistent, so there's no EOF/line-break/anything? It seems that whatever
its return criteria is, it isn't met sometimes.
--
Edit bug report at http://bugs.php.net/?id=23838&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23838&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23838&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23838&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23838&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23838&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23838&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23838&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23838&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23838&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23838&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23838&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23838&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23838&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23838&r=gnused