tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1144266 - /tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java
Date Fri, 08 Jul 2011 11:21:37 GMT
Author: markt
Date: Fri Jul  8 11:21:37 2011
New Revision: 1144266

URL: http://svn.apache.org/viewvc?rev=1144266&view=rev
Log:
Remove unnecessary call. Socket can't be in connections at this point.
Leave currently unused socket parameter in method - plan to use it in later re-factoring

Modified:
    tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java?rev=1144266&r1=1144265&r2=1144266&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java Fri Jul  8 11:21:37 2011
@@ -170,7 +170,6 @@ public class AjpNioProtocol extends Abst
          */
         public void release(SocketWrapper<NioChannel> socket,
                 AjpNioProcessor processor, boolean isSocketClosing) {
-            connections.remove(socket);
             processor.recycle(isSocketClosing);
             recycledProcessors.offer(processor);
         }



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


Mime
View raw message