Mercurial > hg > nginx-quic
comparison src/stream/ngx_stream_proxy_module.c @ 8594:fac88e160653 quic
Merged with the default branch.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 01 Sep 2021 10:57:25 +0300 |
parents | 419c066cb710 |
children | bfad703459b4 |
comparison
equal
deleted
inserted
replaced
8563:d6e191a583cc | 8594:fac88e160653 |
---|---|
2183 } | 2183 } |
2184 | 2184 |
2185 cln->handler = ngx_ssl_cleanup_ctx; | 2185 cln->handler = ngx_ssl_cleanup_ctx; |
2186 cln->data = pscf->ssl; | 2186 cln->data = pscf->ssl; |
2187 | 2187 |
2188 if (ngx_ssl_ciphers(cf, pscf->ssl, &pscf->ssl_ciphers, 0) != NGX_OK) { | |
2189 return NGX_ERROR; | |
2190 } | |
2191 | |
2188 if (pscf->ssl_certificate) { | 2192 if (pscf->ssl_certificate) { |
2189 | 2193 |
2190 if (pscf->ssl_certificate_key == NULL) { | 2194 if (pscf->ssl_certificate_key == NULL) { |
2191 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, | 2195 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, |
2192 "no \"proxy_ssl_certificate_key\" is defined " | 2196 "no \"proxy_ssl_certificate_key\" is defined " |
2212 != NGX_OK) | 2216 != NGX_OK) |
2213 { | 2217 { |
2214 return NGX_ERROR; | 2218 return NGX_ERROR; |
2215 } | 2219 } |
2216 } | 2220 } |
2217 } | |
2218 | |
2219 if (ngx_ssl_ciphers(cf, pscf->ssl, &pscf->ssl_ciphers, 0) != NGX_OK) { | |
2220 return NGX_ERROR; | |
2221 } | 2221 } |
2222 | 2222 |
2223 if (pscf->ssl_verify) { | 2223 if (pscf->ssl_verify) { |
2224 if (pscf->ssl_trusted_certificate.len == 0) { | 2224 if (pscf->ssl_trusted_certificate.len == 0) { |
2225 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, | 2225 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, |