tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1022303 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java
Date Wed, 13 Oct 2010 21:54:28 GMT
Author: markt
Date: Wed Oct 13 21:54:28 2010
New Revision: 1022303

URL: http://svn.apache.org/viewvc?rev=1022303&view=rev
Log:
Better clean-up.

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=1022303&r1=1022302&r2=1022303&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java Wed Oct 13 21:54:28
2010
@@ -396,10 +396,10 @@ public class Http11NioProtocol extends A
                     // In keep-alive but between requests. OK to recycle
                     // processor. Continue to poll for the next request.
                     socket.getPoller().add(socket);
-                    recycledProcessors.offer(processor);
+                    release(socket);
                 } else {
                     // Connection closed. OK to recycle the processor.
-                    recycledProcessors.offer(processor);
+                    release(socket);
                 }
                 return state;
 



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


Mime
View raw message