Chore: Three small fixes (#4922)

This commit is contained in:
patterniha
2025-07-23 14:53:37 +02:00
committed by GitHub
parent 4433641e30
commit 4e826abebf
5 changed files with 16 additions and 3 deletions

View File

@@ -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