From b9aefc144b1383c301444474f662a4f205c7db89 Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Sat, 23 Jan 2016 22:14:45 +0800 Subject: [PATCH] better speed --- shadowsocks/obfsplugin/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/obfsplugin/auth.py b/shadowsocks/obfsplugin/auth.py index c6ae081..1217cc4 100644 --- a/shadowsocks/obfsplugin/auth.py +++ b/shadowsocks/obfsplugin/auth.py @@ -595,7 +595,7 @@ class auth_sha1_v2(verify_base): self.server_info.data.set_max_client(max_client) def rnd_data(self, buf_size): - if buf_size > 1500: + if buf_size > 1300: return b'\x01' if buf_size > 400: