]> granicus.if.org Git - apache/commit
Ensure that the proper status line is written to the client, fixing
authorJeff Trawick <trawick@apache.org>
Tue, 21 Feb 2006 19:34:33 +0000 (19:34 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 21 Feb 2006 19:34:33 +0000 (19:34 +0000)
commit2d93eb4aabfc385f55937feed754dbc09ff65044
tree997233e58ed6a9a55791148623b145e66059265f
parent70bd1f6329249812b599a31f1bd273f1c2209a4b
Ensure that the proper status line is written to the client, fixing
incorrect status lines caused by filters which modify r->status without
resetting r->status_line, such as the built-in byterange filter.

Note: For the byterange example, the handler must set r->status_line
even though this is a 200 response.  Some proxy-type modules blindly
set r->status_line as set by the origin server and thus trigger
the problem with byteranges if the origin server didn't handle the
byterange.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@379562 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/http/http_filters.c