# HG changeset patch # User Vladimir Homutov # Date 1624443720 -10800 # Node ID e96c20b6f655cc1b882b3f677169c74f64576211 # Parent d56c7c4b66fdb5174f4b5a73092c2b7e77501d0f 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 --- a/src/stream/ngx_stream_handler.c +++ b/src/stream/ngx_stream_handler.c @@ -146,6 +146,10 @@ ngx_stream_init_connection(ngx_connectio 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; }