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>
8 months ago
..
derphttp_client.go derp/derphttp: don't block in LocalAddr method 8 months ago
derphttp_server.go all: update copyright and license headers 2 years ago
derphttp_test.go derp/derphttp: don't block in LocalAddr method 8 months ago
mesh_client.go derp/derphttp: fix derptrack fix 1 year ago
websocket.go net/wsconn: accept a remote addr string and plumb it through 1 year ago