mirror of
https://github.com/golang/go
synced 2024-09-24 15:30:13 -06:00
net/http: fix typographical error in transport.go
Change-Id: I5f9de0daa3c18ecd7d6cd30ea13d147e227b3550
GitHub-Last-Rev: 5eabcbd91f
GitHub-Pull-Request: golang/go#29454
Reviewed-on: https://go-review.googlesource.com/c/155920
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
efbd01f1dc
commit
58a17b43d1
@ -134,7 +134,7 @@ type Transport struct {
|
||||
//
|
||||
// DialContext runs concurrently with calls to RoundTrip.
|
||||
// A RoundTrip call that initiates a dial may end up using
|
||||
// an connection dialed previously when the earlier connection
|
||||
// a connection dialed previously when the earlier connection
|
||||
// becomes idle before the later DialContext completes.
|
||||
DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
|
||||
|
||||
@ -142,7 +142,7 @@ type Transport struct {
|
||||
//
|
||||
// Dial runs concurrently with calls to RoundTrip.
|
||||
// A RoundTrip call that initiates a dial may end up using
|
||||
// an connection dialed previously when the earlier connection
|
||||
// a connection dialed previously when the earlier connection
|
||||
// becomes idle before the later Dial completes.
|
||||
//
|
||||
// Deprecated: Use DialContext instead, which allows the transport
|
||||
|
Loading…
Reference in New Issue
Block a user