You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/derp/derphttp
Brad Fitzpatrick b27238b654 derp/derphttp: don't block in LocalAddr method
The derphttp.Client mutex is held during connects (for up to 10
seconds) so this LocalAddr method (blocking on said mutex) could also
block for up to 10 seconds, causing a pileup upstream in
magicsock/wgengine and ultimately a watchdog timeout resulting in a
crash.

Updates #11519

Change-Id: Idd1d94ee00966be1b901f6899d8b9492f18add0f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
derphttp_client.go derp/derphttp: don't block in LocalAddr method 2 months ago
derphttp_server.go all: update copyright and license headers 1 year ago
derphttp_test.go derp/derphttp: don't block in LocalAddr method 2 months ago
mesh_client.go derp/derphttp: fix derptrack fix 7 months ago
websocket.go net/wsconn: accept a remote addr string and plumb it through 9 months ago