accept older connection id

This commit is contained in:
BreakWa11 2016-06-22 01:32:35 +08:00
parent 3d1d38aa0f
commit d2b6c34bdf

View file

@ -103,7 +103,7 @@ class client_queue(object):
def re_enable(self, connection_id):
self.enable = True
self.alloc = {}
self.front = connection_id - 16
self.front = connection_id - 64
self.back = connection_id
self.alloc[connection_id] = 1