[Neo-report] r2075 gregory - /trunk/neo/handler.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 5 18:49:14 CEST 2010
Author: gregory
Date: Wed May 5 18:49:14 2010
New Revision: 2075
Log:
Call connectionClosed() when a connection is aborted.
Modified:
trunk/neo/handler.py
Modified: trunk/neo/handler.py
==============================================================================
--- trunk/neo/handler.py [iso-8859-1] (original)
+++ trunk/neo/handler.py [iso-8859-1] Wed May 5 18:49:14 2010
@@ -65,16 +65,19 @@
except BrokenNodeDisallowedError:
conn.answer(Errors.Broken('go away'))
conn.abort()
+ self.connectionClosed(conn)
except NotReadyError, message:
if not message.args:
message = 'Retry Later'
message = str(message)
conn.answer(Errors.NotReady(message))
conn.abort()
+ self.connectionClosed(conn)
except ProtocolError, message:
message = str(message)
conn.answer(Errors.ProtocolError(message))
conn.abort()
+ self.connectionClosed(conn)
def checkClusterName(self, name):
# raise an exception if the fiven name mismatch the current cluster name
More information about the Neo-report
mailing list