From 3465e87be7770589306c450ae04963dead376347 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 5 Aug 2025 14:06:16 +0200 Subject: [PATCH] Revert "also set `conn->httpversion_seen` when switching to HTTP/2 without ALPN" This reverts commit 05ca65c65012f9d08f190ac262b587e4b889e3ad. --- lib/http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/http.c b/lib/http.c index a66a275787..6a7270c0d4 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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";