2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-10-20 19:34:49 +01:00
|
|
|
|
|
|
|
package magicsock
|
|
|
|
|
|
|
|
// startPathFinder initializes the atomicSendFunc, and
|
|
|
|
// will eventually kick off a goroutine that monitors whether
|
|
|
|
// that sendFunc is still the best option for the endpoint
|
|
|
|
// to use and adjusts accordingly.
|
|
|
|
func (de *endpoint) startPathFinder() {
|
|
|
|
de.pathFinderRunning = true
|
|
|
|
}
|