Skip to content

Commit

Permalink
Use CIDR-aware proxy resolver for SPDY RoundTripper
Browse files Browse the repository at this point in the history
  • Loading branch information
kad committed Oct 23, 2017
1 parent 3ae0b84 commit cbc2688
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (s *SpdyRoundTripper) Dial(req *http.Request) (net.Conn, error) {
func (s *SpdyRoundTripper) dial(req *http.Request) (net.Conn, error) {
proxier := s.proxier
if proxier == nil {
proxier = http.ProxyFromEnvironment
proxier = utilnet.NewProxierWithNoProxyCIDR(http.ProxyFromEnvironment)
}
proxyURL, err := proxier(req)
if err != nil {
Expand Down

0 comments on commit cbc2688

Please sign in to comment.