On Thu, Mar 24, 2011 at 22:17, taher daryani <[email protected]> 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

Reply via email to