changeset 8669:5b51d8405378 quic

QUIC: fixed building ALPN callback without debug and http2.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 22 Dec 2020 12:04:15 +0300
parents af6363758ef9
children b14338acbf9d
files src/http/modules/ngx_http_ssl_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -429,7 +429,7 @@ ngx_http_ssl_alpn_select(ngx_ssl_conn_t 
 #if (NGX_HTTP_V2 || NGX_HTTP_QUIC)
     ngx_http_connection_t  *hc;
 #endif
-#if (NGX_HTTP_V2 || NGX_DEBUG)
+#if (NGX_HTTP_V2 || NGX_HTTP_QUIC || NGX_DEBUG)
     ngx_connection_t       *c;
 
     c = ngx_ssl_get_connection(ssl_conn);