]> git.ipfire.org Git - thirdparty/curl.git/commit
tls: add USE_HTTP2 define
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>
Sun, 25 Apr 2021 01:05:15 +0000 (18:05 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Apr 2021 13:04:39 +0000 (15:04 +0200)
commita3268eca792f1c2ff8754de3c4094ee9762b2a87
tree1db9cdc06ab5b21e6374eb50a36545338eb22352
parent5c932f8fe9dad94a7417702958ffa9e8db67c549
tls: add USE_HTTP2 define

This abstracts across the two HTTP/2 backends: nghttp2 and Hyper.

Add our own define for the "h2" ALPN protocol, so TLS backends can use
it without depending on a specific HTTP backend.

Closes #6959
lib/curl_setup.h
lib/vtls/bearssl.c
lib/vtls/gtls.c
lib/vtls/nss.c
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/sectransp.c
lib/vtls/vtls.h
lib/vtls/wolfssl.c