Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslSelectChannelEndPoint.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslSelectChannelEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslSelectChannelEndPoint.java
index eab33db960..5eb30172a1 100644
--- a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslSelectChannelEndPoint.java
+++ b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslSelectChannelEndPoint.java
@@ -683,7 +683,10 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
int filled=super.fill(_inNIOBuffer);
if (_debug) __log.debug(_session+" unwrap filled "+filled);
if (filled < 0)
+ {
+ __log.info("{} fill() returned -1, _inNIOBuffer {}", _socket, _inNIOBuffer); // TODO: remove this
remoteClosed = true;
+ }
// break the loop if no progress is made (we have read everything there is to read)
if (filled<=0)
break;
@@ -729,9 +732,13 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
freeOutBuffer();
throw new EofException();
}
+ __log.info("{} uwrap() returning false, _inNIOBuffer {}", _socket, _inNIOBuffer); // TODO: remove this
return false;
}
+ if (remoteClosed)
+ __log.info("{} uwrapping, _inNIOBuffer {}", _socket, _inNIOBuffer); // TODO: remove this
+
// We have some in data, so try to unwrap it.
try
{

Back to the top