]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1773293, r1773761, r1773779, r1773812, r1773861, r1773862, r1773865 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 13 Dec 2016 12:46:30 +0000 (12:46 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 13 Dec 2016 12:46:30 +0000 (12:46 +0000)
commita8a0cca6facecaf3895f3e8dc9a741fd09b44879
tree778d5218539fca04cee3c69523e151881afbb63f
parentd7742da13face29261db33acbf7466f2b14af340
Merge r1773293, r1773761, r1773779, r1773812, r1773861, r1773862, r1773865 from trunk:

change error handling for bad resp headers

 - avoid looping between ap_die and the http filter
 - remove the header that failed the check
 - keep calling apr_table_do until our fn stops matching

This is still not great. We get the original body, a 500 status
code and status line.

(r1773285 + fix for first return from check_headers)

Follow up to r1773293.
When check_headers() fails, clear anything (headers and body) from original/errorneous
response before returning 500.

Follow up to r1773761: don't check_headers() more than once.

Follow up to r1773761: don't recurse on internal redirects.

Follow up to r1773761: don't recurse on ap_send_error_response() either.

Follow up to r1773761: we need to check both ap_send_error_response() and internal redirect recursions.

Follow up to r1773761: improved recursion detection.
Submitted by: covener, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1773995 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
modules/http/http_filters.c