1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-10 03:17:11 -05:00

remove unnecessary function call

This commit is contained in:
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

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)