Browse Source

better speed

dev
BreakWa11 9 years ago
parent
commit
b9aefc144b
  1. 2
      shadowsocks/obfsplugin/auth.py

2
shadowsocks/obfsplugin/auth.py

@ -595,7 +595,7 @@ class auth_sha1_v2(verify_base):
self.server_info.data.set_max_client(max_client) self.server_info.data.set_max_client(max_client)
def rnd_data(self, buf_size): def rnd_data(self, buf_size):
if buf_size > 1500: if buf_size > 1300:
return b'\x01' return b'\x01'
if buf_size > 400: if buf_size > 400:

Loading…
Cancel
Save