You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1997/10/29 01:16:25 UTC
Re: protocol/1329: Apache will send wrong/invalid Content-length headers upon receipt of certain Range headers (fwd)
>Looks correct, but I haven't tested yet.
Same here.
....Roy
Re: protocol/1329: Apache will send wrong/invalid Content-length headers upon receipt of certain Range headers (fwd)
Posted by Martin Kraemer <Ma...@mch.sni.de>.
On Wed, Oct 29, 1997 at 09:46:18PM +0100, Martin Kraemer wrote:
> It fixes part of the problem, but not all of it:
>
Blush!!! Sorry, I hacked the wrong patch. Forget my previous mail.
Indeed it looks like it catches all cases; I'll have to recompile -
Will repost after checking the REAL patch.
Martin
--
| S I E M E N S | <Ma...@mch.sni.de> | Siemens Nixdorf
| ------------- | Voice: +49-89-636-46021 | Informationssysteme AG
| N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
Re: protocol/1329: Apache will send wrong/invalid Content-length headers upon receipt of certain Range headers (fwd)
Posted by Martin Kraemer <Ma...@mch.sni.de>.
On Tue, Oct 28, 1997 at 04:16:25PM -0800, Roy T. Fielding wrote:
> >Looks correct, but I haven't tested yet.
>
> Same here.
It fixes part of the problem, but not all of it:
GET /robots.txt HTTP/1.1
Host: deejai.mch.sni.de:8000
Range: bytes=-1000
HTTP/1.1 206 Partial Content
Date: Wed, 29 Oct 1997 20:43:39 GMT
Server: Apache/1.3b3-dev PHP/FI-2.0b12
Last-Modified: Tue, 28 Oct 1997 10:27:06 GMT
ETag: "570-aa-3455bdfa"
Content-Length: 1000
^^^^
Content-Range: bytes -830-169/170
^^^^
Content-Type: text/plain
Martin
--
| S I E M E N S | <Ma...@mch.sni.de> | Siemens Nixdorf
| ------------- | Voice: +49-89-636-46021 | Informationssysteme AG
| N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request