cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Life with and without a proxy

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Jan 2006 07:50:19 +0100 (CET)

On Mon, 16 Jan 2006, Karl M wrote:

> and then specify the proxy with an environment variable, I should get the
> socket for the transfer after the proxy connection and authentication have
> been completed.
>
> But if I don't set any environment variables for the proxy, do I get a
> direct connection to my target? Or, will I get some error condition?

You'd get a direct connection. The other proxy options will simply be ignored
if you don't set the "master" proxy option (== the proxy host name).

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-01-17