netcheck: add TODO about alternate timing strategies

This commit is contained in:
Brad Fitzpatrick 2020-03-04 08:20:38 -08:00
parent b27d4c017a
commit 596fd449b9
1 changed files with 6 additions and 0 deletions

View File

@ -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
}