UDP-dispatcher: fix activity timer

This commit is contained in:
patterniha 2025-07-15 01:52:02 +03:30
parent 1976d02ec9
commit 885a6c661e
5 changed files with 36 additions and 14 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