#22205 [Fbk->Bgs]: some strange chars when using sockets
| From: | wez@php.net | Date: | Thu, 13 Feb 2003 13:34:12 +0000 |
| Subject: | #22205 [Fbk->Bgs]: some strange chars when using sockets | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33020@lists.php.net to get a copy of this message | ||
ID: 22205
Updated by: wez@php.net
Reported By: marrtins@hackers.lv
-Status: Feedback
+Status: Bogus
Bug Type: *General Issues
Operating System: w2k
PHP Version: 4.3.0
New Comment:
You just discovered HTTP/1.1 chunked transfer encoding.
Change your scripts to request data using HTTP/1.0.
Not a bug in php -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2003-02-13 07:32:42] moriyoshi@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-02-13 07:30:26] marrtins@hackers.lv
sometimes i'm getting strange symbols in recieved stream when using
$data .= fgets($socket, $buff_len) or the same with
while($peace = @socket_read($socket, $buff_len, PHP_BINARY_READ))
$data .= $peace;
somewhere in the stream i get string "\r\n1ffc\r\n" why? there is no
such string in resource. and not always the stream contains these
chars.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22205&edit=1