1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00
This commit is contained in:
Darien Raymond 2017-04-18 22:35:13 +02:00
parent 9ee733e77f
commit ceffb71e7b
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

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