#35086 [NoF->Csd]: socket_read() does not return empty string after receiving '\n'
ID: 35086
User updated by: jelte dot werkhoven at cruisetravel dot nl
Reported By: jelte dot werkhoven at cruisetravel dot nl
-Status: No Feedback
+Status: Closed
Bug Type: Sockets related
Operating System: GNU/Linux (SuSE 10.0)
PHP Version: 5CVS, 4CVS (2005-11-08) (snap)
New Comment:
Sorry, I am unable to recreate original testing circumstances within
reasonable time, so I cannot effectively test the new CVS snapshot.
Previous Comments:
------------------------------------------------------------------------
[2005-12-13 01:00:03] 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".
------------------------------------------------------------------------
[2005-12-05 19:03:33] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-11-08 08:49:34] jelte dot werkhoven at cruisetravel dot nl
...
I expect it to return "ACK", then return " " because of the '\n' and
break the while loop, which it doesn't. As far as I understand from the
manual it should.
------------------------------------------------------------------------
[2005-11-07 15:30:06] sniper@php.net
So what's wrong in this? Of course it's 4 chars.
ACK\n == 4 chars.
------------------------------------------------------------------------
[2005-11-07 09:31:28] jelte dot werkhoven at cruisetravel dot nl
Oh and it doesn't break the while-loop.
------------------------------------------------------------------------
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/35086
--
Edit this bug report at http://bugs.php.net/?id=35086&edit=1
Thread (10 messages)