fix tcp reading

This commit is contained in:
Darien Raymond
2016-11-13 21:05:40 +01:00
parent 9471b5b066
commit b49f76cd1c
+1 -1
View File
@@ -29,7 +29,7 @@ func ReadTCPSession(user *protocol.User, reader io.Reader) (*protocol.RequestHea
}
account := rawAccount.(*ShadowsocksAccount)
buffer := alloc.NewLocalBuffer(256)
buffer := alloc.NewLocalBuffer(512)
defer buffer.Release()
ivLen := account.Cipher.IVSize()