tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1514454 - /tomcat/trunk/java/org/apache/tomcat/websocket/server/WsFilter.java
Date Thu, 15 Aug 2013 19:32:09 GMT
Author: markt
Date: Thu Aug 15 19:32:09 2013
New Revision: 1514454

URL: http://svn.apache.org/r1514454
Log:
Follow-up to r1514447. Need to invert the test after the refactoring.

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/server/WsFilter.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/server/WsFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/server/WsFilter.java?rev=1514454&r1=1514453&r2=1514454&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/server/WsFilter.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/server/WsFilter.java Thu Aug 15 19:32:09
2013
@@ -47,7 +47,7 @@ public class WsFilter implements Filter 
             FilterChain chain) throws IOException, ServletException {
 
         // This filter only needs to handle WebSocket upgrade requests
-        if (UpgradeUtil.isWebSocketUpgrageRequest(request, response)) {
+        if (!UpgradeUtil.isWebSocketUpgrageRequest(request, response)) {
             chain.doFilter(request, response);
             return;
         }



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


Mime
View raw message