You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the best course of action is to make NotePreferred run in a goroutine. The current implementation allows for this with a custom dialer, which is only allowed for non-regional clients.
I'll do this but first wanted assurance that there wouldn't be any odd issues I'm overlooking by making this change. If this isn't a problem and I'm mistaken, feel free to close!
The text was updated successfully, but these errors were encountered:
The
Recv
function inderphttp_client.go
is called after client creation which waits forNotePreferred
to be sent if applicable.tailscale/derp/derphttp/derphttp_client.go
Lines 448 to 453 in 2b892ad
This becomes problematic when using
io.Pipe
as a transport because the accept loop inderp_server.go
only runs after flushingsendServerKey
.tailscale/derp/derp_server.go
Lines 646 to 651 in 2b892ad
It seems like the best course of action is to make
NotePreferred
run in a goroutine. The current implementation allows for this with a custom dialer, which is only allowed for non-regional clients.I'll do this but first wanted assurance that there wouldn't be any odd issues I'm overlooking by making this change. If this isn't a problem and I'm mistaken, feel free to close!
The text was updated successfully, but these errors were encountered: