Browse Source

accept older connection id

dev
BreakWa11 8 years ago
parent
commit
d2b6c34bdf
  1. 2
      shadowsocks/obfsplugin/auth.py

2
shadowsocks/obfsplugin/auth.py

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

Loading…
Cancel
Save