diff options
author | Stefan Eissing <stefan@eissing.org> | 2023-02-28 10:07:21 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-02-28 22:59:19 +0100 |
commit | a4d015e69f5ef4b6ab0e505257727c217801072e (patch) | |
tree | 07f2fdcbe387a05a0e11e5925ec629d6033d5a2a /lib/http.c | |
parent | c9c3ec482bb9bf54961536444005862c6227bdeb (diff) | |
download | curl-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.c | 6 |
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; |