cURL / Mailing Lists / curl-library / Single Mail


Re: Getting error 'Proxy CONNECT aborted' when using CURLAUTH_ANY

From: Dan Fandrich <>
Date: Fri, 10 Apr 2009 08:05:57 -0600

On Wed, Apr 08, 2009 at 11:00:13PM +0530, Sudha wrote:
> I have a piece of code for downloading a file from a given URL using a proxy.
> I'm trying to make it work with both ISA proxy (using NTLM auth) and Squid
> proxy (using Basic auth).
> If I specify the proxy auth mechanism as CURLAUTH_NTLM and CURLAUTH_BASIC
> respectively, both these proxies work fine. Since the code doesnt know which
> kind of proxy it is talking to, I was looking for a generic solution. I used
> CURLAUTH_ANY, and also tried CURLAUTH_BASIC | CURLAUTH_NTLM. With these two
> options, ISA proxy works fine, but not the Squid proxy. Here is output with
> using Squid proxy:

What libcurl version are you using? Have you tried the most recent?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2009-04-10