From 62d00f508b575a714dd3eb249a14c628281afdb1 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 13 Oct 2010 21:54:28 +0000 Subject: [PATCH] Better clean-up. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1022303 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/coyote/http11/Http11NioProtocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/coyote/http11/Http11NioProtocol.java b/java/org/apache/coyote/http11/Http11NioProtocol.java index 94d84c3a9..0c5040930 100644 --- a/java/org/apache/coyote/http11/Http11NioProtocol.java +++ b/java/org/apache/coyote/http11/Http11NioProtocol.java @@ -396,10 +396,10 @@ public class Http11NioProtocol extends AbstractHttp11JsseProtocol { // 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; -- 2.11.0