From: Daniel Stenberg Date: Wed, 30 Dec 2020 10:58:39 +0000 (+0100) Subject: c-hyper: make Digest and NTLM work X-Git-Tag: curl-7_75_0~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7483efb4ed95d0a866325ce36db673e25e5117;p=thirdparty%2Fcurl.git c-hyper: make Digest and NTLM work Test 64, 65, 67, 68, 69, 70, 72 Closes #6390 --- diff --git a/lib/c-hyper.c b/lib/c-hyper.c index 5df2f0e192..2825e2ce90 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -374,6 +374,13 @@ static CURLcode hyperstream(struct Curl_easy *data, break; } + /* Curl_http_auth_act() checks what authentication methods that are + * available and decides which one (if any) to use. It will set 'newurl' + * if an auth method was picked. */ + result = Curl_http_auth_act(conn); + if(result) + break; + resp_body = hyper_response_body(resp); if(!resp_body) { failf(data, "hyperstream: couldn't get response body");