From b24c9fd385024fe76f408ddb1faa9779a28be867 Mon Sep 17 00:00:00 2001 From: fhanik Date: Fri, 4 Aug 2006 22:19:38 +0000 Subject: [PATCH] Fixed unwrap 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/SecureNioChannel.java b/java/org/apache/tomcat/util/net/SecureNioChannel.java index efdb64882..30215019c 100644 --- a/java/org/apache/tomcat/util/net/SecureNioChannel.java +++ b/java/org/apache/tomcat/util/net/SecureNioChannel.java @@ -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); } -- 2.11.0