tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1439678 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java
Date Mon, 28 Jan 2013 22:42:09 GMT
Author: markt
Date: Mon Jan 28 22:42:09 2013
New Revision: 1439678

URL: http://svn.apache.org/viewvc?rev=1439678&view=rev
Log:
Handle session close higher up the call stack

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java?rev=1439678&r1=1439677&r2=1439678&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java Mon Jan 28 22:42:09 2013
@@ -497,8 +497,7 @@ public abstract class WsFrameBase {
                         sm.getString("wsFrame.bufferToSmall",
                                 Integer.valueOf(inputBuffer.length),
                                 Long.valueOf(payloadLength)));
-                wsSession.close(cr);
-                throw new IOException(cr.getReasonPhrase());
+                throw new WsIOException(cr);
             }
             makeRoom();
         }



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


Mime
View raw message