1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-28 11:57:10 -04:00

remove unused APIs.

This commit is contained in:
Darien Raymond
2016-12-08 16:50:40 +01:00
parent 41258f19fc
commit 605fc49e9e
5 changed files with 12 additions and 67 deletions

View File

@@ -225,7 +225,7 @@ func (v *VMessInboundHandler) HandleConnection(connection internet.Connection) {
}
output.Release()
if request.Option.Has(protocol.RequestOptionChunkStream) {
if err := bodyWriter.Write(alloc.NewLocalBuffer(32)); err != nil {
if err := bodyWriter.Write(alloc.NewLocalBuffer(8)); err != nil {
connection.SetReusable(false)
}
}