ID: 50856
Comment by: info at netzkontrast dot com
Reported By: info at netzkontrast dot com
Status: No Feedback
Bug Type: Streams related
Operating System: Ubuntu/Suse/Linux
PHP Version: 5.3.1
New Comment:
This Bug still exists.
Checked the actual snapshop again
Previous Comments:
------------------------------------------------------------------------
[2010-02-05 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2010-01-29 14:21:36] info at netzkontrast dot com
i think it's interesting to mention that stream_set_blocking($stream,
0) returns true...
i did poke around a bit in streamsfuncs.c on line 1321 (and
plain_wrapper.c line 559ff) - and if i'm interpreting it correct.
returning truly means that the o_NONBLOCK-flag gets correctly set at the
corresponding open-command.
right now i'm not sure were to look next. Think i need to read a lot
more code ,-)
------------------------------------------------------------------------
[2010-01-28 15:55:08] info at netzkontrast dot com
fopen is still blocking with
local files ('wrapper_type' => string 'plainfile'
and URL's 'wrapper_type' => string 'cURL'
looks like stream_set_blocking gets totaly ignored from fopen
while non_blocking reads still work with fsockopen, and reading from
STDIN
------------------------------------------------------------------------
[2010-01-28 08:45:08] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2010-01-27 09:32:09] info at netzkontrast dot com
there is a typo in streamFsockTest.php
instead of: fputs($handle, "GET /streamcontent.php HTTP/1.0\r\nHost:
mp.devel\r\nConnection: keep-alive\r\n\r\n");
it should be:
fputs($handle, "GET /streamcontent.php HTTP/1.0\r\nHost:
localhost\r\nConnection: keep-alive\r\n\r\n");
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50856
--
Edit this bug report at http://bugs.php.net/?id=50856&edit=1