You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/02/17 15:30:59 UTC

svn commit: r1660390 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org