remove unnecessary function call

pull/330/head v2.10.3
Darien Raymond 8 years ago
parent 3005526e32
commit 948c86e5c5
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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

Loading…
Cancel
Save