1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-06 04:29:08 -04:00

chunk stream in vmess

This commit is contained in:
v2ray
2016-02-01 12:22:29 +01:00
parent 6c7a9586d0
commit d3ff2b3698
21 changed files with 225 additions and 139 deletions

View File

@@ -47,7 +47,7 @@ func (this *AdaptiveReader) Read() (*alloc.Buffer, error) {
}
if err != nil {
alloc.Release(buffer)
buffer.Release()
return nil, err
}
return buffer, nil