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() { go func() {
select { select {
case <-ctx.Done(): case <-ctx.Done():
log.Printf("XXXX normal")
// Either timeout fired (handled below), or // Either timeout fired (handled below), or
// we're returning via the defer cancel() // we're returning via the defer cancel()
// below. // below.
case <-c.ctx.Done(): case <-c.ctx.Done():
log.Printf("XXXX dead2")
// Propagate a Client.Close call into // Propagate a Client.Close call into
// cancelling this context. // cancelling this context.
cancel() cancel()

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

Loading…
Cancel
Save