cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Tight loop in multi_runsingle state WAITPROXYCONNECT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 May 2015 09:09:48 +0200 (CEST)

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.

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-05-22