]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Clarify the remaining problems with Range: headers. The seg faults went away
authorGreg Ames <gregames@apache.org>
Mon, 22 Apr 2002 20:37:34 +0000 (20:37 +0000)
committerGreg Ames <gregames@apache.org>
Mon, 22 Apr 2002 20:37:34 +0000 (20:37 +0000)
commit827997c6a7d0b262cbb2e5969e10a06c13402856
tree49ec4d478b51c35fa2943fb8729375be6ec7a5a4
parent2bdd00f4b509de776daebcf9b9699f5946cbe4da
Clarify the remaining problems with Range: headers.  The seg faults went away
when we changed ap_send_error_response to get rid of resource filters.

This was triggered because we generate a lot of invalid 416 responses for SSI.
That happens because the complete length of the entity body (response) isn't
known accurately until after the C/L filter runs.  That's C/L's job, after all.

Flipping the order of the byterange and C/L filters fixes the invalid
Content-Range headers and 416's.  But then the Content-Length header contains
the full length, rather than the sum of the returned ranges.  That's wrong, but
doesn't seem too hard to fix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94762 13f79535-47bb-0310-9956-ffa450edef68
STATUS