Fixed unwrap
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 4 Aug 2006 22:19:38 +0000 (22:19 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 4 Aug 2006 22:19:38 +0000 (22:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@428907 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/SecureNioChannel.java

index efdb648..3021501 100644 (file)
@@ -323,7 +323,7 @@ public class SecureNioChannel extends NioChannel  {
                 //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);
     }