mirror of https://github.com/v2ray/v2ray-core
remove unused code
parent
6c441e2a5f
commit
56fb8c478c
|
@ -38,12 +38,6 @@ func (this *AdaptiveReader) Read() (*alloc.Buffer, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
//if buffer.Len() >= alloc.BufferSize {
|
||||
// this.allocate = alloc.NewLargeBuffer
|
||||
//} else {
|
||||
// this.allocate = alloc.NewBuffer
|
||||
//}
|
||||
|
||||
return buffer, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue