TUN-10388: Adding probe check

Adding new probe check for UDP connectivity. This ensures that we skip the connection index when doing probes in cloudflared.
This commit is contained in:
Miguel da Costa Martins Marcelino
2026-04-30 14:32:24 +01:00
committed by João "Pisco" Fernandes
parent cf17ba93b2
commit a0401df621
5 changed files with 139 additions and 23 deletions
+3
View File
@@ -10,6 +10,8 @@ import (
"github.com/quic-go/quic-go"
"github.com/rs/zerolog"
"github.com/cloudflare/cloudflared/connection/dialopts"
"github.com/cloudflare/cloudflared/edgediscovery/allregions"
)
@@ -65,6 +67,7 @@ type QUICDialer interface {
localAddr net.IP,
connIndex uint8,
logger *zerolog.Logger,
opts dialopts.DialOpts,
) (quic.Connection, error)
}