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/05/28 15:53:33 UTC

svn commit: r1682247 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Author: markt
Date: Thu May 28 13:53:32 2015
New Revision: 1682247

URL: http://svn.apache.org/r1682247
Log:
Update comment

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1682247&r1=1682246&r2=1682247&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Thu May 28 13:53:32 2015
@@ -1530,11 +1530,11 @@ public class NioEndpoint extends Abstrac
                             try {
                                 if (socket.getPoller().cancelledKey(key) != null) {
                                     // SocketWrapper (attachment) was removed from the
-                                    // key - recycle both. This can only happen once
+                                    // key - recycle the key. This can only happen once
                                     // per attempted closure so it is used to determine
-                                    // whether or not to return socket and ka to
-                                    // their respective caches. We do NOT want to do
-                                    // this more than once - see BZ 57340.
+                                    // whether or not to return the key to the cache.
+                                    // We do NOT want to do this more than once - see BZ
+                                    // 57340.
                                     if (running && !paused) {
                                         nioChannels.push(socket);
                                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org