]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: set seen http version on successful ALPN
authorStefan Eissing <stefan@eissing.org>
Tue, 5 Aug 2025 11:37:12 +0000 (13:37 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2025 14:01:39 +0000 (16:01 +0200)
commit41fe621ae13616893512df1226025c60f3b148b9
treef25f7d10eb40302d80c987f148291090b54ae9dd
parent952117c0329e7155e3826ad7c69adb842be85f25
vtls: set seen http version on successful ALPN

When a HTTP version has been negotiated via ALPN, set the member
`conn->httpversion_seen` accordingly. This allows pending transfers to
reuse multiplexed http connections before the response to the first
transfer has arrived.

Fixes #18177
Reported-by: IoannisGS on github
Closes #18181
lib/http.c
lib/urldata.h
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_osslq.c
lib/vquic/curl_quiche.c
lib/vtls/vtls.c