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
Mihai Parparita b2855cfd86 derp/derphttp: fix nil pointer dereference when closing a netcheck client
NewNetcheckClient only initializes a subset of fields of derphttp.Client,
and the Close() call added by #5707 was result in a nil pointer dereference.
Make Close() safe to call when using NewNetcheckClient() too.

Fixes #5919

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
derphttp_client.go derp/derphttp: fix nil pointer dereference when closing a netcheck client 2 years ago
derphttp_server.go derp: plumb '/derp' request context through (#5083) 2 years ago
derphttp_test.go derp/derphttp: add Client.Ping, SendPing methods 3 years ago
mesh_client.go derp: use new node key type. 3 years ago
websocket.go net/wsconn: remove homegrown wrapper for turning a websocket.Conn into a net.Conn 3 years ago