tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1429784 - /tomcat/trunk/java/org/apache/catalina/websocket/StreamHandler.java
Date Mon, 07 Jan 2013 12:55:56 GMT
Author: markt
Date: Mon Jan  7 12:55:56 2013
New Revision: 1429784

URL: http://svn.apache.org/viewvc?rev=1429784&view=rev
Log:
Make non-JSR356 WebSocket implementation non-blocking between HTTP upgrade and first message.

Modified:
    tomcat/trunk/java/org/apache/catalina/websocket/StreamHandler.java

Modified: tomcat/trunk/java/org/apache/catalina/websocket/StreamHandler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/StreamHandler.java?rev=1429784&r1=1429783&r2=1429784&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/websocket/StreamHandler.java (original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/StreamHandler.java Mon Jan  7 12:55:56
2013
@@ -74,7 +74,7 @@ public abstract class StreamHandler impl
         WsInputStream wsIs = new WsInputStream(inputStream, getWsOutbound());
 
         try {
-            WsFrame frame = wsIs.nextFrame(true);
+            WsFrame frame = wsIs.nextFrame(false);
 
             while (frame != null) {
                 // TODO User defined extensions may define values for rsv



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


Mime
View raw message