mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
increase multi buffer capacity
This commit is contained in:
parent
e5525715fb
commit
d9ea65696a
@ -16,7 +16,7 @@ type MultiBufferReader interface {
|
||||
type MultiBuffer []*Buffer
|
||||
|
||||
func NewMultiBuffer() MultiBuffer {
|
||||
return MultiBuffer(make([]*Buffer, 0, 32))
|
||||
return MultiBuffer(make([]*Buffer, 0, 128))
|
||||
}
|
||||
|
||||
func NewMultiBufferValue(b ...*Buffer) MultiBuffer {
|
||||
|
Loading…
Reference in New Issue
Block a user