remove unnecessary function call

pull/330/head v2.10.3
Darien Raymond 2016-12-13 07:03:48 +01:00
parent 3005526e32
commit 948c86e5c5
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 0 additions and 2 deletions

View File

@ -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)