mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-09 19:07:14 -05:00
remove unnecessary function call
This commit is contained in:
parent
3005526e32
commit
948c86e5c5
@ -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…
Reference in New Issue
Block a user