pre_connection phase fails (without setting c->aborted)
ap_run_process_connection is not executed.
PR:
Obtained from:
Submitted by:
Reviewed by: trawick, jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98798
13f79535-47bb-0310-9956-
ffa450edef68
AP_CORE_DECLARE(void) ap_process_connection(conn_rec *c, void *csd)
{
+ apr_status_t rc;
ap_update_vhost_given_ip(c);
- ap_run_pre_connection(c, csd);
-
+ rc = ap_run_pre_connection(c, csd);
+ if (rc != OK && rc != DONE) {
+ c->aborted = 1;
+ }
+
if (!c->aborted) {
ap_run_process_connection(c);
}