From: Vladimir Homutov Date: Wed, 23 Jun 2021 10:22:00 +0000 (+0300) Subject: QUIC: fixed client certificates verification in stream. X-Git-Tag: release-1.25.0~4^2~304 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=8f8f4840047aae94e3a69afb5a7541e13b3f66bf;p=nginx.git QUIC: fixed client certificates verification in stream. The stream session requires 'ssl' flag to be set in order to perform certificate verification. --- diff --git a/src/stream/ngx_stream_handler.c b/src/stream/ngx_stream_handler.c index c5b2e54a2..f9030335f 100644 --- a/src/stream/ngx_stream_handler.c +++ b/src/stream/ngx_stream_handler.c @@ -146,6 +146,10 @@ ngx_stream_init_connection(ngx_connection_t *c) s->ssl = addr_conf->ssl; #endif +#if (NGX_STREAM_QUIC) + s->ssl |= addr_conf->quic; +#endif + if (c->buffer) { s->received += c->buffer->last - c->buffer->pos; }