mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-25 11:24:15 +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
|
@ -128,6 +128,7 @@ func (s *Server) handleUDPPayload(ctx context.Context, conn stat.Connection, dis
|
|||
|
||||
conn.Write(data.Bytes())
|
||||
})
|
||||
defer udpServer.RemoveRay()
|
||||
|
||||
inbound := session.InboundFromContext(ctx)
|
||||
var dest *net.Destination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue