[Neo-report] r2421 vincent - /trunk/neo/connection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 5 22:25:39 CET 2010


Author: vincent
Date: Fri Nov  5 22:25:38 2010
New Revision: 2421

Log:
Also log ping packets upon handling.

Modified:
    trunk/neo/connection.py

Modified: trunk/neo/connection.py
==============================================================================
--- trunk/neo/connection.py [iso-8859-1] (original)
+++ trunk/neo/connection.py [iso-8859-1] Fri Nov  5 22:25:38 2010
@@ -504,6 +504,7 @@ class Connection(BaseConnection):
             packet_type = packet.getType()
             if packet_type == Packets.Ping:
                 # Send a pong notification
+                PACKET_LOGGER.dispatch(self, packet, 'from')
                 self.answer(Packets.Pong(), packet.getId())
             elif packet_type == Packets.Pong:
                 # Skip PONG packets, its only purpose is refresh the timeout





More information about the Neo-report mailing list