[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] More anti-leak work.



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv4914/lib/mixminion/server

Modified Files:
	MMTPServer.py 
Log Message:
More anti-leak work.

benchmark, test:
- More code to test tls functionality for leaks.

MMTPServer: 
- Try harder to avoid cyclic garbage, so GC has an easier time.

tls.c:
- Kill another leak.




Index: MMTPServer.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/MMTPServer.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- MMTPServer.py	3 Jun 2003 07:42:14 -0000	1.33
+++ MMTPServer.py	3 Jun 2003 17:28:12 -0000	1.34
@@ -519,6 +519,7 @@
         self.__server.unregister(self)
         self.__server = None
         self.__state = None
+        self.finished = None
 
 
 #----------------------------------------------------------------------
@@ -998,6 +999,7 @@
             con = self.clientConByAddr[(ip,port,keyID)]
             LOG.debug("Queueing %s messages on open connection to %s",
                       len(messages), con.address)
+            #XXXX004 check for possible race here!
             con.addMessages(messages, handles)
             return
         except KeyError: