mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-25 19:34:14 +00:00
UDP: faster close (in some rare situations)
This commit is contained in:
parent
83686ebfaa
commit
212382ccbb
4 changed files with 11 additions and 2 deletions
|
@ -259,6 +259,7 @@ func (s *Server) handleUDPPayload(ctx context.Context, clientReader *PacketReade
|
|||
errors.LogWarningInner(ctx, err, "failed to write response")
|
||||
}
|
||||
})
|
||||
defer udpServer.RemoveRay()
|
||||
|
||||
inbound := session.InboundFromContext(ctx)
|
||||
user := inbound.User
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue