]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Mon, 6 Nov 2023 16:15:59 +0000 (17:15 +0100)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 7 Nov 2023 10:43:50 +0000 (11:43 +0100)
commit36662c38604c80e27f2528dfc3973abf7127f201
tree1e0c717a9e06268aadcdb2c2ec7839d1cc13b30f
parent3d93d18dede1d0f7fa54c6aa57300f9de12c5476
vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0

Some servers don't support the ALPN protocol "http/1.0" (e.g. IIS 10),
avoid it and use "http/1.1" instead.

This reverts commit df856cb5c9 (#10183).

Fixes #12259
Closes #12285
lib/cf-https-connect.c
lib/http.c
lib/vtls/vtls.c
lib/vtls/vtls_int.h