tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r428907 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java
Date Fri, 04 Aug 2006 22:19:39 GMT
Author: fhanik
Date: Fri Aug  4 15:19:38 2006
New Revision: 428907

URL: http://svn.apache.org/viewvc?rev=428907&view=rev
Log:
Fixed unwrap

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java?rev=428907&r1=428906&r2=428907&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SecureNioChannel.java Fri Aug  4
15:19:38 2006
@@ -323,7 +323,7 @@
                 //in the constructor
                 throw new IOException("Unable to unwrap data, invalid status: " + unwrap.getStatus());
             }
-        } while ( (netInBuffer.position() != 0));
+        } while ( (netInBuffer.position() != 0)); //continue to unwrapping as long as the
input buffer has stuff
         return (read);
     }
 



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


Mime
View raw message