derp: remove some debug noise I left in

:(
This commit is contained in:
Brad Fitzpatrick 2020-02-28 13:20:56 -08:00
parent 752146a70f
commit 38acccad09
2 changed files with 0 additions and 3 deletions

View File

@ -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()

1
go.mod
View File

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