aboutsummaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_ntlm.c')
-rw-r--r--lib/http_ntlm.c5
1 files changed, 4 insertions, 1 deletions
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;