From a4d015e69f5ef4b6ab0e505257727c217801072e Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 28 Feb 2023 10:07:21 +0100 Subject: http: fix unix domain socket use in https connects - when h2/h3 eyeballing was involved, unix domain socket configurations were not honoured - configuring --unix-socket will disable HTTP/3 as candidate for eyeballing - combinatino of --unix-socket and --http3-only will fail during initialisation - adding pytest test_11 to reproduce Reported-by: Jelle van der Waa Fixes #10633 Closes #10641 --- lib/http.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/http.c') diff --git a/lib/http.c b/lib/http.c index f25843743..299a499f0 100644 --- a/lib/http.c +++ b/lib/http.c @@ -236,14 +236,10 @@ static CURLcode http_setup_conn(struct Curl_easy *data, data->req.p.http = http; connkeep(conn, "HTTP default"); - if((data->state.httpwant == CURL_HTTP_VERSION_3) - || (data->state.httpwant == CURL_HTTP_VERSION_3ONLY)) { + if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { CURLcode result = Curl_conn_may_http3(data, conn); if(result) return result; - - /* TODO: HTTP lower version eyeballing */ - conn->transport = TRNSPRT_QUIC; } return CURLE_OK; -- cgit v1.2.1