Mercurial > hg > nginx
comparison src/stream/ngx_stream_handler.c @ 8805:e96c20b6f655 quic
QUIC: fixed client certificates verification in stream.
The stream session requires 'ssl' flag to be set in order to perform
certificate verification.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 23 Jun 2021 13:22:00 +0300 |
parents | 279ad36f2f4b |
children | 2706d27d2c76 |
comparison
equal
deleted
inserted
replaced
8804:d56c7c4b66fd | 8805:e96c20b6f655 |
---|---|
144 | 144 |
145 #if (NGX_STREAM_SSL) | 145 #if (NGX_STREAM_SSL) |
146 s->ssl = addr_conf->ssl; | 146 s->ssl = addr_conf->ssl; |
147 #endif | 147 #endif |
148 | 148 |
149 #if (NGX_STREAM_QUIC) | |
150 s->ssl |= addr_conf->quic; | |
151 #endif | |
152 | |
149 if (c->buffer) { | 153 if (c->buffer) { |
150 s->received += c->buffer->last - c->buffer->pos; | 154 s->received += c->buffer->last - c->buffer->pos; |
151 } | 155 } |
152 | 156 |
153 s->connection = c; | 157 s->connection = c; |