From 8f8f4840047aae94e3a69afb5a7541e13b3f66bf Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Wed, 23 Jun 2021 13:22:00 +0300 Subject: QUIC: fixed client certificates verification in stream. The stream session requires 'ssl' flag to be set in order to perform certificate verification. --- src/stream/ngx_stream_handler.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stream/ngx_stream_handler.c') 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; } -- cgit