Author: violetagg
Date: Fri Sep  9 20:26:11 2016
New Revision: 1760110

URL: http://svn.apache.org/viewvc?rev=1760110&view=rev
Log:
The comparison should be with the ByteBuffer not with the handler.

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=1760110&r1=1760109&r2=1760110&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Fri Sep 
 9 20:26:11 2016
@@ -666,7 +666,7 @@ public class SecureNio2Channel extends N
                             getBufHandler()
                                     
.expand(sslEngine.getSession().getApplicationBufferSize());
                             dst = getBufHandler().getReadBuffer();
-                        } else if(dst == getAppReadBufHandler()) {
+                        } else if (dst == 
getAppReadBufHandler().getByteBuffer()) {
                             getAppReadBufHandler()
                                     
.expand(sslEngine.getSession().getApplicationBufferSize());
                             dst = getAppReadBufHandler().getByteBuffer();



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

Reply via email to