From: Bill Stoddard Date: Sun, 23 Dec 2001 03:49:46 +0000 (+0000) Subject: The connection can be aborted in the preconnection hook. If that happens, X-Git-Tag: 2.0.30~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83a99076f9c6d6df4f747e5dac13a6fb66e2918b;p=apache The connection can be aborted in the preconnection hook. If that happens, there is no need to run the process_connection hook. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92580 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/connection.c b/server/connection.c index 9a6f5928ed..2ca5820a3f 100644 --- a/server/connection.c +++ b/server/connection.c @@ -226,6 +226,7 @@ AP_CORE_DECLARE(void) ap_process_connection(conn_rec *c) ap_run_pre_connection(c); - ap_run_process_connection(c); - + if (!c->aborted) { + ap_run_process_connection(c); + } }