mirror of
https://github.com/curl/curl.git
synced 2026-05-15 05:26:20 +03:00
c-hyper: don't abort CONNECT responses early when auth-in-progress
... and make sure to stop ignoring the body once the CONNECT is done. This should make test 206 work proper again and not be flaky. Closes #7889
This commit is contained in:
parent
1732502cb0
commit
10883eb981
2 changed files with 3 additions and 1 deletions
|
|
@ -212,6 +212,7 @@ static void connect_done(struct Curl_easy *data)
|
|||
s->prot_save = NULL;
|
||||
data->info.httpcode = 0; /* clear it as it might've been used for the
|
||||
proxy */
|
||||
data->req.ignorebody = FALSE;
|
||||
infof(data, "CONNECT phase completed!");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue