]> granicus.if.org Git - apache/commitdiff
The connection can be aborted in the preconnection hook. If that happens,
authorBill Stoddard <stoddard@apache.org>
Sun, 23 Dec 2001 03:49:46 +0000 (03:49 +0000)
committerBill Stoddard <stoddard@apache.org>
Sun, 23 Dec 2001 03:49:46 +0000 (03:49 +0000)
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

index 9a6f5928ed0f9d18041ba7c494d9067765ded747..2ca5820a3fc25e5980b40f6ea0974953d8533c28 100644 (file)
@@ -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);
+    }
 }