diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-12-22 12:04:15 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-12-22 12:04:15 +0300 |
commit | a96989365676de270fbb2ad19480435ad5e86df4 (patch) | |
tree | 42ee68b26858afc75319210880f33bb33758aa41 /src/http/modules/ngx_http_ssl_module.c | |
parent | 71f9b41c7fa1a5700f196bb4f4fee255b986ff4d (diff) | |
download | nginx-a96989365676de270fbb2ad19480435ad5e86df4.tar.gz nginx-a96989365676de270fbb2ad19480435ad5e86df4.zip |
QUIC: fixed building ALPN callback without debug and http2.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 111de479b..97c58e445 100644 --- 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 *ssl_conn, const unsigned char **out, #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); |