Lines Matching refs:Timer
3246 shutdownTimer *time.Timer // nil until used
3247 idleTimer *time.Timer // nil if unused
3575 sc.vlogf("GOAWAY close timer fired; closing conn from %v", sc.conn.RemoteAddr())
3605 timer := time.NewTimer(http2prefaceTimeout)
3606 defer timer.Stop()
3608 case <-timer.C:
5507 idleTimer *time.Timer
5927 // connection. The timer could just call closeIfIdle, but this is more
6121 timer := time.NewTimer(d)
6122 defer timer.Stop()
6123 respHeaderTimer = timer.C
6200 timer := time.NewTimer(d)
6201 defer timer.Stop()
6202 respHeaderTimer = timer.C
7297 timer *time.Timer // if non-nil, we're doing a delayed write
7326 // Arm the timer with a very large duration, which we'll
7332 s.timer = time.AfterFunc(hugeDuration, func() {
7339 if s.timer != nil {
7340 s.timer.Stop()
7345 if s.timer == nil {
7349 s.timer.Stop()
7357 if s.timer == nil {
7363 if s.timer.Stop() {
7364 s.timer.Reset(s.delay)