mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 21:15:39 +00:00
96d806789f
We want the macOS Network Extension to share fate with the UI frontend, so we need the backend to know when the frontend disappears. One easy way to do that is to reuse the existing TCP server it's already running (for tailscale status clietns). We now tell the frontend our ephemeral TCP port number, and then have the UI connect to it, so the backend can know when it disappears. There are likely Swift ways of doing this, but I couldn't find them quickly enough, so I reached for the hammer I knew. |
||
---|---|---|
.. | ||
ipnserver | ||
ipnstate | ||
policy | ||
backend.go | ||
doc.go | ||
fake_test.go | ||
handle.go | ||
local.go | ||
message_test.go | ||
message.go | ||
prefs_test.go | ||
prefs.go | ||
store_test.go | ||
store.go |