From: Stefan Eissing Date: Fri, 27 Oct 2023 09:26:19 +0000 (+0200) Subject: doh: use PIPEWAIT when HTTP/2 is attempted X-Git-Tag: curl-8_5_0~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=277486b6b4a63e005eef25094d648e74bf02ed0f;p=thirdparty%2Fcurl.git doh: use PIPEWAIT when HTTP/2 is attempted Closes #12214 --- diff --git a/lib/doh.c b/lib/doh.c index d0ad0d86bb..7aca47f9b3 100644 --- a/lib/doh.c +++ b/lib/doh.c @@ -252,6 +252,7 @@ static CURLcode dohprobe(struct Curl_easy *data, ERROR_CHECK_SETOPT(CURLOPT_HTTPHEADER, headers); #ifdef USE_HTTP2 ERROR_CHECK_SETOPT(CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2TLS); + ERROR_CHECK_SETOPT(CURLOPT_PIPEWAIT, 1L); #endif #ifndef CURLDEBUG /* enforce HTTPS if not debug */