mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
net/http: correct capitalization in cancelTimeBody comment
This commit is contained in:
parent
a98589711d
commit
3e5c022f87
|
@ -951,7 +951,7 @@ func (c *Client) CloseIdleConnections() {
|
|||
}
|
||||
|
||||
// cancelTimerBody is an io.ReadCloser that wraps rc with two features:
|
||||
// 1) on Read error or close, the stop func is called.
|
||||
// 1) On Read error or close, the stop func is called.
|
||||
// 2) On Read failure, if reqDidTimeout is true, the error is wrapped and
|
||||
// marked as net.Error that hit its timeout.
|
||||
type cancelTimerBody struct {
|
||||
|
|
Loading…
Reference in a new issue