From 7a19923afa17dbfa9b45d8620bac003398cf1ebd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Aug 2003 11:47:45 +0000 Subject: Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxies work. --- lib/http_ntlm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/http_ntlm.c') diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 5c6e3df4f..29615a470 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -551,7 +551,10 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, return CURLE_OUT_OF_MEMORY; /* FIX TODO */ ntlm->state = NTLMSTATE_TYPE3; /* we sent a type-3 */ - + + /* Switch to web authentication after proxy authentication is done */ + if (proxy) + Curl_http_auth_stage(conn->data, 401); } break; -- cgit v1.2.3