You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2008/10/08 03:03:02 UTC

svn commit: r702676 - /tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java

Author: fhanik
Date: Tue Oct  7 18:03:02 2008
New Revision: 702676

URL: http://svn.apache.org/viewvc?rev=702676&view=rev
Log:
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

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java?rev=702676&r1=702675&r2=702676&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Tue Oct  7 18:03:02 2008
@@ -892,7 +892,7 @@
         // Recycle
         inputBuffer.recycle();
         outputBuffer.recycle();
-
+        this.socket = null;
         // Recycle ssl info
         sslSupport = null;
     }



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