[proxy] fix context for udprelay (#6444)

This commit is contained in:
Pascal Fischer
2026-06-16 14:41:17 +02:00
committed by GitHub
parent 01aa49433e
commit 38ad2b67e8

View File

@@ -1989,7 +1989,7 @@ func (s *Server) addUDPRelay(ctx context.Context, mapping *proto.ProxyMapping, t
"service_id": svcID,
})
relay := udprelay.New(ctx, udprelay.RelayConfig{
relay := udprelay.New(s.portRouterContext(ctx), udprelay.RelayConfig{
Logger: entry,
Listener: listener,
Target: targetAddress,