Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c75f29f3c |
@@ -83,8 +83,8 @@ type request struct {
|
|||||||
upgraded *upgradedConn
|
upgraded *upgradedConn
|
||||||
|
|
||||||
// mu guards what follows. The time limits run on goroutines of their own,
|
// mu guards what follows. The time limits run on goroutines of their own,
|
||||||
// and the transport starts and stops them, and notes requestEnd, from its
|
// and the transport starts and stops them, and notes the times below, from
|
||||||
// own; once timersStopped is set, neither time limit acts any more.
|
// its own; once timersStopped is set, neither time limit acts any more.
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
timersStopped bool
|
timersStopped bool
|
||||||
requestTimer *time.Timer
|
requestTimer *time.Timer
|
||||||
|
|||||||
Reference in new issue
Block a user