Changes with Apache 2.0.36
+ *) Swap downgrade-1.0 and force-response-1.0 conditional checks so
+ that downgraded responses can have force-response. PR 8357.
+ [Justin Erenkrantz]
+
*) Fix perchild MPM so that it can be configured with the move to the
experimental directory. [Scott Lamb <slamb@slamb.org>]
r->status_line = status_lines[ap_index_of_response(r->status)];
}
+ /* Note that we must downgrade before checking for force responses. */
+ if (r->proto_num > HTTP_VERSION(1,0)
+ && apr_table_get(r->subprocess_env, "downgrade-1.0")) {
+ r->proto_num = HTTP_VERSION(1,0);
+ }
+
/* kludge around broken browsers when indicated by force-response-1.0
*/
if (r->proto_num == HTTP_VERSION(1,0)
*protocol = AP_SERVER_PROTOCOL;
}
- if (r->proto_num > HTTP_VERSION(1,0)
- && apr_table_get(r->subprocess_env, "downgrade-1.0")) {
- r->proto_num = HTTP_VERSION(1,0);
- }
}
/* fill "bb" with a barebones/initial HTTP response header */