#21353·tailscale

libtailscale 应处理被暂停的应用程序

作者: bouk创建于 2026年9月17日更新于 2026年9月17日
标签OS-iosbug

func (unspecifiedMessage) ignore() bool { return false } -func newOSMon(_ *eventbus.Bus, logf logger.Logf, _ *Monitor) (osMon, error) { +func newRouteSocket() (*os.File, error) { fd, err := unix.Socket(unix.AF_ROUTE, unix.SOCK_RAW, 0) if err != nil { return nil, err }

  • return &darwinRouteMon{
  •   logf: logf,
  •   fd:   fd,
  • }, nil
  • // Let the Go poller own the descriptor so Close interrupts a blocked read
  • // without racing a read …

内容来源: tailscale/tailscale