# HG changeset patch # User Sergey Kandaurov # Date 1608627855 -10800 # Node ID 5b51d84053784ea879527f76637e7c4660bc3759 # Parent af6363758ef921e38a3cc4d60208bc0e4efb5b54 QUIC: fixed building ALPN callback without debug and http2. diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c --- 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);