mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
refactor
This commit is contained in:
parent
9ee733e77f
commit
ceffb71e7b
@ -75,8 +75,7 @@ func (s *Server) processTCP(ctx context.Context, conn internet.Connection, dispa
|
|||||||
if source, ok := proxy.SourceFromContext(ctx); ok {
|
if source, ok := proxy.SourceFromContext(ctx); ok {
|
||||||
log.Access(source, "", log.AccessRejected, err)
|
log.Access(source, "", log.AccessRejected, err)
|
||||||
}
|
}
|
||||||
log.Trace(newError("failed to read request").Base(err))
|
return newError("failed to read request").Base(err)
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
conn.SetReadDeadline(time.Time{})
|
conn.SetReadDeadline(time.Time{})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user