|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10535 The last byte of the document is omitted
Submitted: 2001-04-28 09:49 UTC Modified: 2001-04-28 10:05 UTC
From: u dot wisser at publisher dot de Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.0.4pl1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: u dot wisser at publisher dot de
New email:
PHP Version: OS:


 [2001-04-28 09:49 UTC] u dot wisser at publisher dot de
Please see the telnet output below. Apache/PHP don't send the full document when the Range header is used.

telnet 80
Connected to
Escape character is '^]'.
GET /themen/erkrankungen/rheuma/dekubitus.html HTTP/1.0
Range: bytes=0-100000

HTTP/1.1 206 Partial Content
Date: Sat, 28 Apr 2001 13:41:41 GMT
Server: Apache/1.3.19 (Unix) PHP/4.0.4pl1
Last-Modified: Fri, 20 Apr 2001 09:38:38 GMT
ETag: "ec711-4b4e-3ae0039e"
Accept-Ranges: bytes
Content-Length: 19278
Content-Range: bytes 0-19277/19278
Connection: close
Content-Type: text/html


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 10:05 UTC]
Content-Length: 19278
Content-Range: bytes 0-19277/19278

0-19277 are 19278 bytes

just like 0-1 are 2 bytes

How did you notice this problem (if it is one)? And does it happen without PHP too? Anyway, I don't think this is an PHP bug, as apache handles output and the setting of those headers.
If you really think this is a bug in PHP, then reopen this bug report.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Sep 29 20:03:56 2022 UTC