From 83a99076f9c6d6df4f747e5dac13a6fb66e2918b Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Sun, 23 Dec 2001 03:49:46 +0000 Subject: [PATCH] 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 --- server/connection.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); + } } -- 2.40.0