1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 04:55:37 -05:00

Allow data stream passing through http proxy

This commit is contained in:
v2ray
2016-05-25 09:32:26 +02:00
parent c75d840706
commit 3156c4586c
4 changed files with 86 additions and 14 deletions

View File

@@ -50,6 +50,7 @@ func (p *BufferPool) Free(buffer *Buffer) {
}
const (
SmallBufferSize = 1024 - defaultOffset
BufferSize = 8*1024 - defaultOffset
LargeBufferSize = 64*1024 - defaultOffset
)