Browse Source

accept older connection id

dev
BreakWa11 8 years ago
parent
commit
3d56b040cf
  1. 3
      shadowsocks/obfsplugin/auth.py

3
shadowsocks/obfsplugin/auth.py

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

Loading…
Cancel
Save