ID: 35062
Updated by: iliaa@php.net
Reported By: dima at dimych dot sumy dot ua
-Status: Open
+Status: Closed
Bug Type: Sockets related
Operating System: *
PHP Version: 5CVS, 4CVS (2005-11-10) (cvs)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-11-10 11:34:17] nlopess@php.net
Ok, I've sent an e-mail to internals ML.
But I cannot commit the patch, because I don't have enough karma.
------------------------------------------------------------------------
[2005-11-10 08:45:30] sniper@php.net
Nuno, I think you will only get some feedback on your patch if you
either commit it, or post it to internals list.
------------------------------------------------------------------------
[2005-11-10 00:17:12] nlopess@php.net
After the reading the bug report carefully, the only problem here is
that socket_read() shouldn't produce a warning when errno==EAGAIN. The
return value of the function doesn't need/can't be changed.
The constant SOCKET_EAGAIN is already defined, so there's also a doc
bug :) (all SOCKET_* need to be documented)
The patch: http://mega.ist.utl.pt/~ncpl/php_bug_35062.txt
------------------------------------------------------------------------
[2005-11-05 22:13:26] nlopess@php.net
opening it again, as this seems a different issue.
We should have the EAGAIN constant and use it for non-blocking sockets.
returning false isnt't a good idea.
------------------------------------------------------------------------
[2005-11-04 16:23:08] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
See bug #21197
------------------------------------------------------------------------
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/35062--
Edit this bug report at http://bugs.php.net/?id=35062&edit=1