tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r595328 - /tomcat/trunk/java/org/apache/catalina/core/StandardWrapperValve.java
Date Thu, 15 Nov 2007 15:09:53 GMT
Author: fhanik
Date: Thu Nov 15 07:09:52 2007
New Revision: 595328

URL: http://svn.apache.org/viewvc?rev=595328&view=rev
Log:
Fix comet handling in case BEGIN event calls CometEvent.close

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardWrapperValve.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardWrapperValve.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardWrapperValve.java?rev=595328&r1=595327&r2=595328&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardWrapperValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardWrapperValve.java Thu Nov 15 07:09:52
2007
@@ -227,8 +227,8 @@
                     }
                 } else {
                     if (comet) {
-                        filterChain.doFilterEvent(request.getEvent());
                         request.setComet(true);
+                        filterChain.doFilterEvent(request.getEvent());
                     } else {
                         filterChain.doFilter
                             (request.getRequest(), response.getResponse());



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


Mime
View raw message