From:             lists at cyberlot dot net
Operating system: Fedora Core 2
PHP version:      5.0.1
PHP Bug Type:     Sockets related
Bug description:  Streams socket functionality

Description:
------------
switched from socket functions to stream functions for socket server usage
because streams is supposed to be stable, and are included by default.. 

The problem socket_read supports  PHP_NORMAL_READ which allows it to see
flashes \0 as EOL...

This is not possible when using streams to create a socket server as fget
does not see \0 as EOL

Expected result:
----------------
Expect fgets to return data at \0

Actual result:
--------------
Nothing is returned until the buffer is filled.

-- 
Edit bug report at http://bugs.php.net/?id=29726&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29726&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29726&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29726&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29726&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29726&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29726&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29726&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29726&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29726&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29726&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29726&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29726&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29726&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29726&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29726&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29726&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29726&r=float

Reply via email to