You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2006/09/05 19:21:56 UTC

svn commit: r440410 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c

Author: rjung
Date: Tue Sep  5 10:21:55 2006
New Revision: 440410

URL: http://svn.apache.org/viewvc?view=rev&rev=440410
Log:
Detect broken connection to client in Apache.

Modified:
    tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c
    tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c

Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c?view=diff&rev=440410&r1=440409&r2=440410
==============================================================================
--- tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c Tue Sep  5 10:21:55 2006
@@ -381,6 +381,8 @@
                 }
 
             }
+            if (p->r->connection->aborted)
+                return JK_FALSE;
         }
 
         return JK_TRUE;

Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?view=diff&rev=440410&r1=440409&r2=440410
==============================================================================
--- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Tue Sep  5 10:21:55 2006
@@ -423,6 +423,8 @@
                 ll -= r;
                 bb += r;
             }
+            if (p->r->connection->aborted)
+                return JK_FALSE;
         }
 
         return JK_TRUE;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org