Descriptionhttp: set nil to req.URL when CONNECT method.
CONNECT method require proxy.example.com:8080 like argument.
ReadRequest() is treating proxy.example.com as scheme, 8080 as host.
so req.URL is broken. This change make req.URL 'nil'.
Patch Set 1 #Patch Set 2 : diff -r a4c2e46af9b2 http://go.googlecode.com/hg/ #Patch Set 3 : diff -r a4c2e46af9b2 http://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|