cURL / Mailing Lists / curl-users / Single Mail


how to use --proxy-negotiate, exactly?

From: Brian J. Murrell <>
Date: Sun, 22 Feb 2009 22:52:16 +0000 (UTC)

I'm trying to use --proxy-negotiate with 7.18.2 but I can't seem to get
it working.

I am trying to use:

http_proxy=http://brian@linux:3128/ ./curl -v --proxy-negotiate -o /dev/

And it's failing to do any Negotiate proxy authentication.

I have debugged to the point where I can see that, in http_output_auth(),
data->state.negotiate.context is NULL. But looking at
Curl_output_negotiate() I see that it's actually looking at data-
>state.proxyneg when it's "proxy" argument is TRUE. Is this a bug?

No matter anyway, because in http_output_auth() data->state.proxyneg is
NULL as well.

I have not really gotten my mind around the entire workings of curl yet,
but at this point, can't see how either of data->state.negotiate.context
or data->state.proxyneg is supposed to get populated.

Any help on either the code details, or simply a usage that can prove to
me that Negotiate actually works.



List admin:
Received on 2009-02-22