[curl/curl] a3268e: tls: add USE_HTTP2 define

Jacob Hoffman-Andrews <[email protected]>
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: a3268eca792f1c2ff8754de3c4094ee9762b2a87
      https://github.com/curl/curl/commit/a3268eca792f1c2ff8754de3c4094ee9762b2a87
  Author: Jacob Hoffman-Andrews <[email protected]>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M lib/curl_setup.h
    M lib/vtls/bearssl.c
    M lib/vtls/gtls.c
    M lib/vtls/nss.c
    M lib/vtls/openssl.c
    M lib/vtls/schannel.c
    M lib/vtls/sectransp.c
    M lib/vtls/vtls.h
    M lib/vtls/wolfssl.c

  Log Message:
  -----------
  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


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.