tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1156115 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java
Date Wed, 10 Aug 2011 11:43:09 GMT
Author: markt
Date: Wed Aug 10 11:43:09 2011
New Revision: 1156115

URL: http://svn.apache.org/viewvc?rev=1156115&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51641
Connections map uses NioChannel, not <SocketWrapper<NioChannel>

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java?rev=1156115&r1=1156114&r2=1156115&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java Wed Aug 10 11:43:09
2011
@@ -204,7 +204,8 @@ public class Http11NioProtocol extends A
          */
         @Override
         public void release(SocketWrapper<NioChannel> socket) {
-            Http11NioProcessor processor = connections.remove(socket);
+            Http11NioProcessor processor =
+                connections.remove(socket.getSocket());
             if (processor != null) {
                 processor.recycle();
                 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