From 596fd449b9ec0e21faf92b860c2afcd91c7f5a83 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 4 Mar 2020 08:20:38 -0800 Subject: [PATCH] netcheck: add TODO about alternate timing strategies --- netcheck/netcheck.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netcheck/netcheck.go b/netcheck/netcheck.go index dd995b89e..73b3dcd0d 100644 --- a/netcheck/netcheck.go +++ b/netcheck/netcheck.go @@ -207,6 +207,12 @@ func GetReport(ctx context.Context, logf logger.Logf) (*Report, error) { } } + // TODO: if UDP is blocked, try to measure TCP connect times + // to DERP nodes instead? So UDP-blocked users still get a + // decent DERP node, rather than being randomly assigned to + // the other side of the planet? Or try ICMP? (likely also + // blocked?) + return ret.Clone(), nil }