You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/06/23 00:33:28 UTC

svn commit: r1686954 - /tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java

Author: markt
Date: Mon Jun 22 22:33:28 2015
New Revision: 1686954

URL: http://svn.apache.org/r1686954
Log:
Correctly reset secure channel before it is re-used. Problem found during testing with SSLLabs

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java?rev=1686954&r1=1686953&r2=1686954&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Mon Jun 22 22:33:28 2015
@@ -123,6 +123,7 @@ public class SecureNio2Channel extends N
         handshakeComplete = false;
         closed = false;
         closing = false;
+        netInBuffer.clear();
     }
 
     @Override



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