# HG changeset patch # User Sergey Kandaurov # Date 1600863184 -3600 # Node ID 2885cd81adb3c2f89a0f2f557a067d0d3449c2ca # Parent dbcb9d0a3df19e71d5fc57fceb508eafbf3f371a QUIC: unbreak client certificate verification after 0d2b2664b41c. Initially, client certificate verification didn't work due to the missing hc->ssl on a QUIC stream, which is started to be set in 7738:7f0981be07c4. Then it was lost in 7999:0d2b2664b41c introducing "quic" listen parameter. This change re-adds hc->ssl back for all QUIC connections, similar to SSL. diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -308,6 +308,8 @@ ngx_http_init_connection(ngx_connection_ ngx_quic_conf_t *qcf; ngx_http_ssl_srv_conf_t *sscf; + hc->ssl = 1; + #if (NGX_HTTP_V3) if (hc->addr_conf->http3) {