mirror of
https://github.com/cloudflare/cloudflared.git
synced 2026-06-23 04:10:20 +00:00
a0401df621
Adding new probe check for UDP connectivity. This ensures that we skip the connection index when doing probes in cloudflared.
10 lines
307 B
Go
10 lines
307 B
Go
package dialopts
|
|
|
|
// DialOpts holds the configuration for dialing a QUIC connection.
|
|
type DialOpts struct {
|
|
// SkipPortReuse skips UDP port reuse. This is useful for probe connections
|
|
// that should use a random ephemeral port to avoid interfering with the
|
|
// main connection flow.
|
|
SkipPortReuse bool
|
|
}
|