1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Downgrade must occur before we attempt to TRACE, e.g., for clients with

broken chunking.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2001-08-25 17:48:52 +00:00
parent c69b5aaa51
commit bdaf32fa88

View File

@@ -263,6 +263,10 @@ static void process_request_internal(request_rec *r)
return;
}
if (r->proto_num > HTTP_VERSION(1,0) && apr_table_get(r->subprocess_env, "downgrade-1.0")) {
r->proto_num = HTTP_VERSION(1,0);
}
if (!r->proxyreq) {
/*
* We don't want TRACE to run through the normal handler set, we
@@ -277,10 +281,6 @@ static void process_request_internal(request_rec *r)
}
}
if (r->proto_num > HTTP_VERSION(1,0) && apr_table_get(r->subprocess_env, "downgrade-1.0")) {
r->proto_num = HTTP_VERSION(1,0);
}
/*
* NB: directory_walk() clears the per_dir_config, so we don't inherit
* from location_walk() above