curl-users
Re: Feature request: Multiple proxy servers
Date: Wed, 8 Nov 2000 10:10:20 +0100 (MET)
On Wed, 8 Nov 2000, Albert Chin-A-Young wrote:
> > Proxy-auto-config files return multiple proxy servers separated by
> > semi-colons, so I'd envision the argument looking like:
> >
> > curl -x proxy1.ms.com:80;proxy2.ms.com:80 -U user:pass http://website/
>
> I'd recommend multiple -x options.
I agree that multiple -x options look a lot nicer. (They could then
internally possibly add all those proxy servers into one string to prevent
changing the libcurl interface, but that's a different discussion.)
> Even better, be smart enough that if multiple addresses are received for
> the hostname, then all should be tried.
Indeed. But perhaps both ways should be supported, as it isn't certain
proxy1.ms.com and proxy2.ms.com have multiple addresses for their names.
Any takers on implementing this?
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2000-11-08