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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]