mirror of https://github.com/v2ray/v2ray-core
increase multi buffer capacity
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