mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
QUIC: disabled OpenSSL 3.5 support by default.
OpenSSL fails to copy table of custom extensions, when switching SSL contexts, which includes the quic_transport_parameters extension. This results in a broken QUIC handshake. It can be switched on using --with-cc-opt='-DNGX_QUIC_OPENSSL_API=1'.
This commit is contained in:
parent
5b8a5c08ce
commit
79ac698291
@ -13,7 +13,10 @@
|
||||
|
||||
|
||||
#ifdef OSSL_RECORD_PROTECTION_LEVEL_NONE
|
||||
#define NGX_QUIC_OPENSSL_API 1
|
||||
#ifndef NGX_QUIC_OPENSSL_API
|
||||
#define NGX_QUIC_BORINGSSL_API 1
|
||||
#define NGX_QUIC_OPENSSL_COMPAT 1
|
||||
#endif
|
||||
|
||||
#elif (defined SSL_R_MISSING_QUIC_TRANSPORT_PARAMETERS_EXTENSION)
|
||||
#define NGX_QUIC_QUICTLS_API 1
|
||||
|
Loading…
Reference in New Issue
Block a user