summaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorStefan Eissing <stefan@eissing.org>2023-02-28 10:07:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-02-28 22:59:19 +0100
commita4d015e69f5ef4b6ab0e505257727c217801072e (patch)
tree07f2fdcbe387a05a0e11e5925ec629d6033d5a2a /lib/http.c
parentc9c3ec482bb9bf54961536444005862c6227bdeb (diff)
downloadcurl-a4d015e69f5ef4b6ab0e505257727c217801072e.tar.gz
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
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c6
1 files changed, 1 insertions, 5 deletions
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;