Browse Source

fix unit_len in auth_sha1

dev
破娃酱 8 years ago
parent
commit
b3fcee662a
  1. 2
      shadowsocks/obfsplugin/auth.py

2
shadowsocks/obfsplugin/auth.py

@ -188,7 +188,7 @@ class auth_sha1(verify_base):
def __init__(self, method): def __init__(self, method):
super(auth_sha1, self).__init__(method) super(auth_sha1, self).__init__(method)
self.recv_buf = b'' self.recv_buf = b''
self.unit_len = 8100 self.unit_len = 8000
self.decrypt_packet_num = 0 self.decrypt_packet_num = 0
self.raw_trans = False self.raw_trans = False
self.has_sent_header = False self.has_sent_header = False

Loading…
Cancel
Save