mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +03:00
vquic: ngtcp2 + openssl support
With the new addition of OpenSSL QUIC API support and the support in ngtcp2 main branch, make the necessary adjustments in curl to support this combination. - add support in configure.ac to detect the feature OPENSSL_QUIC_API2 in openssl - initialise ngtcp2 properly in this combination - add a Curl_vquic_init() for global initialisation that ngtcp2 likes for performance reasons - add documentation on how to build in docs/HTTP3.md - add CI testing in http3-linux.yml Assisted-by: Viktor Szakats Closes #17027
This commit is contained in:
parent
07cc50f8eb
commit
5eefdd71a3
10 changed files with 223 additions and 40 deletions
|
|
@ -316,12 +316,17 @@ if test "x$OPT_OPENSSL" != xno; then
|
|||
fi
|
||||
|
||||
dnl is this OpenSSL (fork) providing the original QUIC API?
|
||||
AC_CHECK_FUNCS([SSL_set_quic_use_legacy_codepoint],
|
||||
[QUIC_ENABLED=yes])
|
||||
AC_CHECK_FUNCS([SSL_set_quic_use_legacy_codepoint], [QUIC_ENABLED=yes])
|
||||
if test "$QUIC_ENABLED" = "yes"; then
|
||||
AC_MSG_NOTICE([OpenSSL fork speaks QUIC API])
|
||||
else
|
||||
AC_MSG_NOTICE([OpenSSL version does not speak QUIC API])
|
||||
AC_CHECK_FUNCS([SSL_set_quic_tls_cbs], [QUIC_ENABLED=yes])
|
||||
if test "$QUIC_ENABLED" = "yes"; then
|
||||
AC_MSG_NOTICE([OpenSSL with QUIC APIv2])
|
||||
OPENSSL_QUIC_API2=1
|
||||
else
|
||||
AC_MSG_NOTICE([OpenSSL version does not speak any known QUIC API])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$OPENSSL_ENABLED" = "1"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue