You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/09/16 22:21:21 UTC

DO NOT REPLY [Bug 36692] New: - Download file: 255 bytes length passed; 256 bytes - empty body answer.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36692>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36692

           Summary: Download file: 255 bytes length passed; 256 bytes -
                    empty body answer.
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dmitrysp@yandex.ru


I have some file with 255 bytes length:
-------
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
0123456789012345
-------

In telnet: 

GET /test.html HTTP/1.0
Host: localhost

<<<begin here<<<HTTP/1.1 200 OK
Date: Fri, 16 Sep 2005 20:02:10 GMT
Server: Apache/2.0.54 (Win32) PHP/5.1.0RC1
Last-Modified: Fri, 16 Sep 2005 20:02:09 GMT
ETag: W/"23cd4-ff-1197815e"
Accept-Ranges: bytes
Content-Length: 255
Connection: close
Content-Type: text/html

01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789
0123456789012345678901234567890123456789012345678901234
>>>end here>>>

It's ok. Now i add new byte 'X' to file:
-----------
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
012345678901234X
-----------

Open telnet:

GET /test.html HTTP/1.0
Host: localhost

<<<-begin here-<<<HTTP/1.1 200 OK
Date: Fri, 16 Sep 2005 20:03:28 GMT
Server: Apache/2.0.54 (Win32) PHP/5.1.0RC1
Last-Modified: Fri, 16 Sep 2005 20:03:26 GMT
ETag: "23cd4-100-1633f1b6"
Accept-Ranges: bytes
Content-Length: 256
Connection: close
Content-Type: text/html

>>>-end here->>>

Empty body document. It's normal?

Statistic:
0-255 bytes -- full answer
256-5576 bytes -- empty answer
5577 bytes and more -- full answer and etc...

Tested in 2.0.53 and 2.0.54, WinXP sp2.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org