On Fri, May 22, 2015 at 09:09:48AM +0200, Daniel Stenberg wrote: > On Thu, 21 May 2015, Sean Boudreau wrote: > > >Isn't it also possible for proxytype to be derived from > >CURLOPT_PROXY by parse_proxy()? ie. I could set CURLOPT_PROXY > >"socks5://<addr>:<port>" and still end up with tunnel_proxy set > >but not httpproxy? > > Oh right. Looking at it a bit more, I think it would be enough to > _only_ address it there. Like the attached patch. Basically > switching off tunneling in case a non-HTTP proxy has been selected.
Looks good. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
