mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 09:26:21 -05:00
Increase buffer size in VMessIn
This commit is contained in:
parent
c9f6747bd2
commit
3aca3492eb
@ -96,7 +96,7 @@ func (handler *VMessInboundHandler) HandleConnection(connection net.Conn) error
|
||||
}
|
||||
|
||||
// Optimize for small response packet
|
||||
buffer := make([]byte, 0, 2*1024)
|
||||
buffer := make([]byte, 0, 4*1024)
|
||||
buffer = append(buffer, request.ResponseHeader...)
|
||||
|
||||
if data, open := <-output; open {
|
||||
|
Loading…
Reference in New Issue
Block a user