From: fhanik Date: Wed, 8 Oct 2008 01:03:02 +0000 (+0000) Subject: properly cleanup socket object, since we have the ability to chache Http11Processor... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=56d104f92917afcac6215d6983f9234d3669932c;p=tomcat7.0 properly cleanup socket object, since we have the ability to chache Http11Processor objects the processor must remove its reference to the socket, since sockets contain buffers (especially SSL sockets) and it could be considered a semi mem leak git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@702676 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/http11/Http11Processor.java b/java/org/apache/coyote/http11/Http11Processor.java index 673087e3b..03f8c2413 100644 --- a/java/org/apache/coyote/http11/Http11Processor.java +++ b/java/org/apache/coyote/http11/Http11Processor.java @@ -892,7 +892,7 @@ public class Http11Processor implements ActionHook { // Recycle inputBuffer.recycle(); outputBuffer.recycle(); - + this.socket = null; // Recycle ssl info sslSupport = null; }