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>
2022-10-13 11:49:27 -07:00
..
derphttp_client.go derp/derphttp: fix nil pointer dereference when closing a netcheck client 2022-10-13 11:49:27 -07:00
derphttp_server.go derp: plumb '/derp' request context through (#5083) 2022-07-18 15:43:03 -07:00
derphttp_test.go derp/derphttp: add Client.Ping, SendPing methods 2021-12-28 09:52:10 -08:00
mesh_client.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
websocket.go net/wsconn: remove homegrown wrapper for turning a websocket.Conn into a net.Conn 2022-06-07 09:28:56 -07:00