]> Cypherpunks repositories - gostls13.git/commit
net/http: change Transport.Dialer to Transport.DialContext
authorRuss Cox <rsc@golang.org>
Fri, 27 May 2016 15:05:14 +0000 (11:05 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 27 May 2016 16:26:42 +0000 (16:26 +0000)
commit605e751b53a8bec7d1f51b2ccc0093e063358dc6
tree500257a3b0ad2249c8a1562aa0097a81f04c210a
parent36a80c5941ec36d9c44d6f3c068d13201e023b5f
net/http: change Transport.Dialer to Transport.DialContext

New in Go 1.7 so still possible to change.
This allows implementations not tied to *net.Dialer.

Fixes #15748.

Change-Id: I5fabbf13c7f1951c06587a4ccd120def488267ce
Reviewed-on: https://go-review.googlesource.com/23489
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/transport.go