Revert "Reuse buffer from first pakcage"

This reverts commit f2b8e91f81.
This commit is contained in:
noisyfox
2016-12-16 12:18:59 +11:00
parent efe6d5ba81
commit 511a658fd3
3 changed files with 21 additions and 31 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ namespace Shadowsocks.ForwardProxy
_remote.EndSend(ar);
// start line read
new LineReader(1024, _remote, OnLineRead, OnException, OnFinish, Encoding.UTF8, HTTP_CRLF, new FakeAsyncResult(ar, state));
new LineReader(_remote, OnLineRead, OnException, OnFinish, Encoding.UTF8, HTTP_CRLF, 1024, new FakeAsyncResult(ar, state));
}
catch (Exception ex)
{