php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 www.gesundheit.de 80
Trying 195.179.67.179...
Connected to www.gesundheit.de.
Escape character is '^]'.
GET /themen/erkrankungen/rheuma/dekubitus.html HTTP/1.0
From: ctr@luna-park.net
Host: www.gesundheit.de
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 10:05 UTC] derick@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC