Revert "also set conn->httpversion_seen when switching to HTTP/2 without ALPN"

This reverts commit 05ca65c650.
This commit is contained in:
Stefan Eissing 2025-08-05 14:06:16 +02:00
parent 05ca65c650
commit 3465e87be7
No known key found for this signature in database

View file

@ -2704,8 +2704,6 @@ 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";