cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Sending Https request over proxy aborts

From: taher daryani <daryanit_at_gmail.com>
Date: Thu, 24 Mar 2011 15:30:56 -0700

Sorry, I made a typing mistake. it is dXNlcjpwYXNzd29yZA== which should
decode to user:password.

On Thu, Mar 24, 2011 at 3:09 PM, Ben Noordhuis <info_at_bnoordhuis.nl> wrote:

> On Thu, Mar 24, 2011 at 22:17, taher daryani <daryanit_at_gmail.com> wrote:
> > I am using libcurl to send http/https requests through a proxy. It works
> > fine for http requests but it returns error 407 for https requests if I
> use
> > CURLAUTH_ANY. If I use CURLAUTH_BASIC then the request would succeed.
>
> > * Proxy CONNECT aborted
> > * Closing connection #0
> > * Failure when receiving data from the peer
>
> Apparently he proxy rejects the CONNECT request. With CURLAUTH_BASIC
> the request succeeds but not with CURLAUTH_ANY? Are you sure that you
> are sending the right credentials? The Proxy-Authenticate header
> decodes to "user:pasŪ³ord". Looks like an Arabic ordinal.
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-24