mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-13 23:24:27 -05:00
revert buffer api change
This commit is contained in:
@@ -36,7 +36,7 @@ func (p *BufferPool) Allocate() *Buffer {
|
||||
default:
|
||||
b = p.allocator.Get().([]byte)
|
||||
}
|
||||
return CreateBuffer(b, defaultOffset, p)
|
||||
return CreateBuffer(b, p)
|
||||
}
|
||||
|
||||
func (p *BufferPool) Free(buffer *Buffer) {
|
||||
|
||||
Reference in New Issue
Block a user