From 8e27035851b147c1e75dee0337ed133d3c139501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Sun, 26 Mar 2017 23:42:32 +0800 Subject: [PATCH] fix buffer_size --- shadowsocks/tcprelay.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py index 99ccc4d..2d792ba 100644 --- a/shadowsocks/tcprelay.py +++ b/shadowsocks/tcprelay.py @@ -166,6 +166,7 @@ class TCPRelayHandler(object): server_info.key = self._encryptor.cipher_key server_info.head_len = 30 server_info.tcp_mss = 1448 + server_info.buffer_size = BUF_SIZE self._obfs.set_server_info(server_info) self._protocol = obfs.obfs(config['protocol'])