From 1d40aec45042979ef51e8c3d71ea0919b2e3a0fd Mon Sep 17 00:00:00 2001 From: zhipeng Date: Mon, 24 Jul 2017 20:58:08 +0800 Subject: [PATCH] bug fix: connection closed, ssh error. big http response failed. --- shadowsocks/tcprelay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py index 166f7fe..7cf9902 100644 --- a/shadowsocks/tcprelay.py +++ b/shadowsocks/tcprelay.py @@ -96,7 +96,7 @@ WAIT_STATUS_READWRITING = WAIT_STATUS_READING | WAIT_STATUS_WRITING BUF_SIZE = 32 * 1024 UP_STREAM_BUF_SIZE = 16 * 1024 -DOWN_STREAM_BUF_SIZE = 32 * 1024 +DOWN_STREAM_BUF_SIZE = 16 * 1024 # helper exceptions for TCPRelayHandler