cURL / Mailing Lists / curl-users / Single Mail

curl-users

Feature request: Multiple proxy servers

From: Kevin P Roth <KPRoth_at_MarathonOil.com>
Date: Tue, 07 Nov 2000 14:14:51 -0600

I'm wondering whether anyone else who sees the value in being able to supply a list of proxy servers to curl, and have curl keep trying the "back-up" servers until it gets to one that doesn't return an error? I'd find this ability rather nice, and I'm guessing it would be fairly simple to implement such a feature. Perhaps you wouldn't try the backups for ALL errors, but at least the obvious ones like not being able to establish a network connection to the first one on the list...

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/

--Kevin
Received on 2000-11-08