curl-library
Re: Problem with cURL authentication using PROXY
Date: Fri, 25 Dec 2009 22:56:55 +0100 (CET)
On Fri, 25 Dec 2009, dan peretz wrote:
> The Proxy using BASIC authentication while the XDMS using digest
> authentication. I set the cURl CURLOPT_HTTPAUTH to CURLAUTH_DIGEST and
> the CURLOPT_PROXYAUTH to CURLAUTH_BASIC. When using a PUT or a POST
> request the session hangs (GET works fine, probably something related
> to the payload).
> When I remove the authentication from the proxy everything works fine.
> Clarification: when using CURLAUTH_ANY everything works fine, probably
> because the first negotiation is to find the authentication method fix it
> somehow. The problem with that that I have an extra round-trip and It
> messing my XDMs.
What libcurl version on what platform?
Can you please provide us with some CURLOPT_DEBUGFUNCTION (or similar) traces
that show what was sent and received in a successful GET compared to a failed
POST? (just remember to edit out sensitive data before you post them)
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-12-25