mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -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
|
type MultiBuffer []*Buffer
|
||||||
|
|
||||||
func NewMultiBuffer() MultiBuffer {
|
func NewMultiBuffer() MultiBuffer {
|
||||||
return MultiBuffer(make([]*Buffer, 0, 32))
|
return MultiBuffer(make([]*Buffer, 0, 128))
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewMultiBufferValue(b ...*Buffer) MultiBuffer {
|
func NewMultiBufferValue(b ...*Buffer) MultiBuffer {
|
||||||
|
Loading…
Reference in New Issue
Block a user