1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00

c-hyper: make Digest and NTLM work

Test 64, 65, 67, 68, 69, 70, 72

Closes #6390
This commit is contained in:
Daniel Stenberg 2020-12-30 11:58:39 +01:00
parent 2855997a95
commit 3c7483efb4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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");