From b360df36c56bbdd0da7ecdacdf8dc2a9c98cd053 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 22 Oct 2021 10:57:54 +0200 Subject: 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. --- lib/http_proxy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/http_proxy.c') diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 2969c859d..5244a25bb 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -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!"); } } -- cgit v1.2.1