cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl and Proxy servers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Jan 2002 19:19:44 +0100 (MET)

On Wed, 16 Jan 2002, Hien Quan wrote:

> Can anyone tell me how Curl determines which proxy server to use?

It doesn't. You tell it which one to use.

> For example in a situation where the proxy server is at x.x.x.x and the
> default gateway is y.y.y.y which server does Curl connect to?

You tell it which to use. Using an environment variable, a command line
switch or the default config file.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-01-16