mirror of
https://github.com/curl/curl.git
synced 2026-04-30 06:08:10 +03:00
vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0
Some servers don't support the ALPN protocol "http/1.0" (e.g. IIS 10),
avoid it and use "http/1.1" instead.
This reverts commit df856cb5c9 (#10183).
Fixes #12259
Closes #12285
This commit is contained in:
parent
3d93d18ded
commit
36662c3860
4 changed files with 5 additions and 15 deletions
|
|
@ -188,9 +188,6 @@ static CURLcode baller_connected(struct Curl_cfilter *cf,
|
|||
#endif
|
||||
infof(data, "using HTTP/2");
|
||||
break;
|
||||
case CURL_HTTP_VERSION_1_1:
|
||||
infof(data, "using HTTP/1.1");
|
||||
break;
|
||||
default:
|
||||
infof(data, "using HTTP/1.x");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue