remove unused APIs.

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

No files matched your search

+1 -1
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)
}
}