From: markt Date: Thu, 17 Feb 2011 14:11:41 +0000 (+0000) Subject: Remove unnecessary code. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2e99978585787576de258e3835d9ec5894c7f882;p=tomcat7.0 Remove unnecessary code. I don't see a code path that could result in the socket being in the map at this point git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1071617 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/ajp/AjpProtocol.java b/java/org/apache/coyote/ajp/AjpProtocol.java index 7bd7cd638..d5fd00efb 100644 --- a/java/org/apache/coyote/ajp/AjpProtocol.java +++ b/java/org/apache/coyote/ajp/AjpProtocol.java @@ -188,7 +188,6 @@ public class AjpProtocol extends AbstractAjpProtocol { // complete or dispatch) return processor.asyncPostProcess(); } else { - connections.remove(socket); socket.setAsync(false); recycledProcessors.offer(processor); }