diff --git a/shadowsocks/obfsplugin/auth.py b/shadowsocks/obfsplugin/auth.py index d64c98b..0f2ee35 100644 --- a/shadowsocks/obfsplugin/auth.py +++ b/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()