QUIC: fixed building ALPN callback without debug and http2.

This commit is contained in:
Sergey Kandaurov 2020-12-22 12:04:15 +03:00
parent 71f9b41c7f
commit a969893656

View File

@ -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) #if (NGX_HTTP_V2 || NGX_HTTP_QUIC)
ngx_http_connection_t *hc; ngx_http_connection_t *hc;
#endif #endif
#if (NGX_HTTP_V2 || NGX_DEBUG) #if (NGX_HTTP_V2 || NGX_HTTP_QUIC || NGX_DEBUG)
ngx_connection_t *c; ngx_connection_t *c;
c = ngx_ssl_get_connection(ssl_conn); c = ngx_ssl_get_connection(ssl_conn);