If the pre_connection hook detects the connection has gone away. I notice that mod_ssl
can
detect aborted connections in the preconnection hook. Seems a good idea to make a check
here and just skip ap_run_process_connection is the connection is gone.
Index: connection.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/connection.c,v
retrieving revision 1.95
diff -u -r1.95 connection.c
--- connection.c 2001/12/18 13:48:52 1.95
+++ connection.c 2001/12/22 05:34:23
@@ -226,6 +226,7 @@
ap_run_pre_connection(c);
- ap_run_process_connection(c);
-
+ if (!c->aborted) {
+ ap_run_process_connection(c);
+ }
}