derp: remove some debug noise I left in

:(
pull/115/head
Brad Fitzpatrick 5 years ago
parent 752146a70f
commit 38acccad09

@ -111,12 +111,10 @@ func (c *Client) connect(ctx context.Context, caller string) (client *derp.Clien
go func() {
select {
case <-ctx.Done():
log.Printf("XXXX normal")
// Either timeout fired (handled below), or
// we're returning via the defer cancel()
// below.
case <-c.ctx.Done():
log.Printf("XXXX dead2")
// Propagate a Client.Close call into
// cancelling this context.
cancel()

@ -29,4 +29,3 @@ require (
honnef.co/go/tools v0.0.1-2019.2.3 // indirect
rsc.io/goversion v1.2.0
)

Loading…
Cancel
Save