mirror of
https://github.com/curl/curl.git
synced 2026-07-27 22:43:12 +03:00
also set conn->httpversion_seen when switching to HTTP/2 without ALPN
because of PRIOR_KNOWLEDGE configuration.
This commit is contained in:
parent
94f3540501
commit
05ca65c650
1 changed files with 2 additions and 0 deletions
|
|
@ -2704,6 +2704,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
|
|||
if(result)
|
||||
goto fail;
|
||||
info_version = "HTTP/2";
|
||||
/* There is no ALPN here, but the connection is now definitely h2 */
|
||||
conn->httpversion_seen = 20;
|
||||
}
|
||||
else
|
||||
info_version = "HTTP/1.x";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue