From 56d104f92917afcac6215d6983f9234d3669932c Mon Sep 17 00:00:00 2001 From: fhanik Date: Wed, 8 Oct 2008 01:03:02 +0000 Subject: [PATCH] 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 --- java/org/apache/coyote/http11/Http11Processor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0