curl-users
how to use --proxy-negotiate, exactly?
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/
null http://www.sun.com/
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.
Thanx!
b.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-22