Author: markt
Date: Tue Feb 17 14:30:59 2015
New Revision: 1660390
URL: http://svn.apache.org/r1660390
Log:
Additional debug logging to try and trace the cause of the occasional NIO2
failures for TestWebSocketFrameClientSSL.
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1660390&r1=1660389&r2=1660390&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Tue Feb 17
14:30:59 2015
@@ -562,6 +562,9 @@ public class Nio2Endpoint extends Abstra
}
protected boolean processSocket0(SocketWrapperBase<Nio2Channel>
socketWrapper, SocketStatus status, boolean dispatch) {
+ if (log.isDebugEnabled()) {
+ log.debug("processSocket0 [" + socketWrapper + "], [" + status +
"], [" + dispatch + "]", new Exception());
+ }
try {
SocketProcessor sc = (useCaches) ? processorCache.pop() : null;
if (sc == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]