Lines Matching refs:Timer
1072 var timer *time.Timer // for canceling TLS handshake
1074 timer = time.AfterFunc(d, func() {
1083 if timer != nil {
1084 timer.Stop()
1288 idleTimer *time.Timer // holding an AfterFunc to close it
1682 timer := time.NewTimer(pc.t.ExpectContinueTimeout)
1683 defer timer.Stop()
1688 case <-timer.C:
1735 // avoid creating a timer.
1909 timer := time.NewTimer(d)
1910 defer timer.Stop() // prevent leaks
1911 respHeaderTimer = timer.C