[Checkins] SVN: zc.z3monitor/branches/0.5/src/zc/z3monitor/ Bugs Fixed: The z3monitor server lacked a handle_close method, which caused
Jim Fulton
jim at zope.com
Mon Sep 15 17:56:09 EDT 2008
Log message for revision 91171:
Bugs Fixed: The z3monitor server lacked a handle_close method, which caused
errors to get logged when users closed connections before giving
commands.
Changed:
U zc.z3monitor/branches/0.5/src/zc/z3monitor/CHANGES.txt
U zc.z3monitor/branches/0.5/src/zc/z3monitor/README.txt
U zc.z3monitor/branches/0.5/src/zc/z3monitor/__init__.py
-=-
Modified: zc.z3monitor/branches/0.5/src/zc/z3monitor/CHANGES.txt
===================================================================
--- zc.z3monitor/branches/0.5/src/zc/z3monitor/CHANGES.txt 2008-09-15 21:33:16 UTC (rev 91170)
+++ zc.z3monitor/branches/0.5/src/zc/z3monitor/CHANGES.txt 2008-09-15 21:56:08 UTC (rev 91171)
@@ -2,6 +2,15 @@
Change History
==============
+0.5.1 (2008-09-15)
+==================
+
+Bugs Fixed:
+
+- The z3monitor server lacked a handle_close method, which caused
+ errors to get logged when users closed connections before giving
+ commands.
+
0.5 (2008-4-4)
==============
Modified: zc.z3monitor/branches/0.5/src/zc/z3monitor/README.txt
===================================================================
--- zc.z3monitor/branches/0.5/src/zc/z3monitor/README.txt 2008-09-15 21:33:16 UTC (rev 91170)
+++ zc.z3monitor/branches/0.5/src/zc/z3monitor/README.txt 2008-09-15 21:56:08 UTC (rev 91171)
@@ -322,3 +322,9 @@
False
-> CLOSE
+
+.. Edge cases
+
+ Closing the connection:
+
+ >>> connection.test_close('test')
Modified: zc.z3monitor/branches/0.5/src/zc/z3monitor/__init__.py
===================================================================
--- zc.z3monitor/branches/0.5/src/zc/z3monitor/__init__.py 2008-09-15 21:33:16 UTC (rev 91170)
+++ zc.z3monitor/branches/0.5/src/zc/z3monitor/__init__.py 2008-09-15 21:56:08 UTC (rev 91171)
@@ -58,7 +58,10 @@
connection.write(zc.ngi.END_OF_DATA)
+ def handle_close(self, connection, reason):
+ pass # Don't care
+
def help(connection, command_name=None):
"""Get help about server commands
More information about the Checkins
mailing list