Commit 1d03399c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use the method defined for this purpose.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1369 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 88f7c55c
...@@ -264,7 +264,7 @@ class Connection(BaseConnection): ...@@ -264,7 +264,7 @@ class Connection(BaseConnection):
elif packet_type != Packets.Pong: elif packet_type != Packets.Pong:
# Skip PONG packets, its only purpose is to drop IdleEvent # Skip PONG packets, its only purpose is to drop IdleEvent
# generated upong ping. # generated upong ping.
self._queue.append(packet) self._enqueue(packet)
finally: finally:
self.read_buf = self.read_buf[len(packet):] self.read_buf = self.read_buf[len(packet):]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment