[Zope-Checkins] CVS: Zope/ZServer - HTTPServer.py:1.41.6.2

Shane Hathaway shane@zope.com
Wed, 9 Apr 2003 10:00:58 -0400


Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv6105/ZServer

Modified Files:
      Tag: Zope-2_6-branch
	HTTPServer.py 
Log Message:
Fixed two leaks involving file uploads.  The HTTP input stream was referenced for too long.

=== Zope/ZServer/HTTPServer.py 1.41.6.1 => 1.41.6.2 ===
--- Zope/ZServer/HTTPServer.py:1.41.6.1	Thu Oct  3 22:29:49 2002
+++ Zope/ZServer/HTTPServer.py	Wed Apr  9 10:00:27 2003
@@ -316,7 +316,8 @@
         while self.queue:
             self.queue.pop()
         if self.current_request is not None:
-            self.current_request.channel=None # break circ refs
+            self.current_request.collector = None # break circ refs
+            self.current_request.channel = None # break circ refs
             self.current_request=None
         while self.producer_fifo:
             p=self.producer_fifo.first()