Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_proxy: If we get an error reading the upstream response,
+ close the connection. [Brian Akins, Justin Erenkrantz]
+
*) mod_ssl: Fix a possible crash during access control checks if a
non-SSL request is processed for an SSL vhost (such as the
"HTTP request received on SSL port" error message when an 400
else if (rv != APR_SUCCESS) {
ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, c,
"proxy: error reading response");
+ c->aborted = 1;
break;
}
/* next time try a non-blocking read */
}
} while (interim_response);
+ /* If we our connection with the client is to be aborted, return DONE. */
+ if (c->aborted) {
+ return DONE;
+ }
+
if (conf->error_override) {
/* the code above this checks for 'OK' which is what the hook expects */
if (ap_is_HTTP_SUCCESS(r->status))