comparison src/http/ngx_http_request.c @ 8554:2885cd81adb3 quic

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.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 23 Sep 2020 13:13:04 +0100
parents eaea7dac3292
children 8b6486f0fe79
comparison
equal deleted inserted replaced
8553:dbcb9d0a3df1 8554:2885cd81adb3
306 306
307 if (hc->addr_conf->quic) { 307 if (hc->addr_conf->quic) {
308 ngx_quic_conf_t *qcf; 308 ngx_quic_conf_t *qcf;
309 ngx_http_ssl_srv_conf_t *sscf; 309 ngx_http_ssl_srv_conf_t *sscf;
310 310
311 hc->ssl = 1;
312
311 #if (NGX_HTTP_V3) 313 #if (NGX_HTTP_V3)
312 314
313 if (hc->addr_conf->http3) { 315 if (hc->addr_conf->http3) {
314 ngx_int_t rc; 316 ngx_int_t rc;
315 317