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