FAQ
*** Submitted as
https://code.google.com/p/go/source/detail?r=9a1367cfa93a ***

net/http: fix bug parsing http_proxy lacking a protocol

Per the curl man page, the http_proxy configuration can be
of the form:

[protocol://]<host>[:port]

And we had a test that <ip>:<port> worked, but if
the host began with a letter, url.Parse parsed the hostname
as the scheme instead, confusing ProxyFromEnvironment.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/6875060


https://codereview.appspot.com/6875060/

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 4, '12 at 8:57p
activeDec 6, '12 at 3:08a
posts3
users2
websitegolang.org

2 users in discussion

Bradfitz: 2 posts Russ Cox: 1 post

People

Translate

site design / logo © 2022 Grokbase