comparison src/http/ngx_http_request.c @ 8272:7f0981be07c4 quic

Fixed client certificate verification. For ngx_http_process_request() part to work, this required to set both r->http_connection->ssl and c->ssl on a QUIC stream. To avoid damaging global SSL object, ngx_ssl_shutdown() is managed to ignore QUIC streams.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 23 Mar 2020 20:48:34 +0300
parents 8e54a17dabee
children ea264b21bfce
comparison
equal deleted inserted replaced
8271:8e54a17dabee 8272:7f0981be07c4
223 223
224 #if (NGX_HTTP_V3) 224 #if (NGX_HTTP_V3)
225 if (c->type == SOCK_DGRAM) { 225 if (c->type == SOCK_DGRAM) {
226 hc = ngx_pcalloc(c->pool, sizeof(ngx_http_v3_connection_t)); 226 hc = ngx_pcalloc(c->pool, sizeof(ngx_http_v3_connection_t));
227 hc->quic = 1; 227 hc->quic = 1;
228 hc->ssl = 1;
228 229
229 } else 230 } else
230 #endif 231 #endif
231 hc = ngx_pcalloc(c->pool, sizeof(ngx_http_connection_t)); 232 hc = ngx_pcalloc(c->pool, sizeof(ngx_http_connection_t));
232 233