mirror of
https://github.com/curl/curl.git
synced 2026-05-03 13:27:56 +03:00
http: resurrect addition from 41fe621
For some reason, these lines were unintentionally deleted in 6d5570c.
Thanks to IoannisGS for noticing.
Bug: https://github.com/curl/curl/pull/18179#issuecomment-3162876532
Reported-by: IoannisGS on github
Closes #18215
This commit is contained in:
parent
17bf8809ef
commit
2d9f24bf24
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