From 948c86e5c5da3e5316fddb024de253266c269dfc Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 13 Dec 2016 07:03:48 +0100 Subject: [PATCH] remove unnecessary function call --- proxy/vmess/inbound/inbound.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/proxy/vmess/inbound/inbound.go b/proxy/vmess/inbound/inbound.go index 1b8fc104b..1c212ab29 100644 --- a/proxy/vmess/inbound/inbound.go +++ b/proxy/vmess/inbound/inbound.go @@ -153,8 +153,6 @@ func (v *VMessInboundHandler) HandleConnection(connection internet.Connection) { request, err := session.DecodeRequestHeader(reader) v.RUnlock() - connection.SetReusable(request.Option.Has(protocol.RequestOptionConnectionReuse)) - if err != nil { if errors.Cause(err) != io.EOF { log.Access(connection.RemoteAddr(), "", log.AccessRejected, err)