Mercurial > hg > nginx
changeset 7412:6c52c99c475e stable-1.14
SSL: logging level of "https proxy request" errors.
The "http request" and "https proxy request" errors cannot happen
with HTTP due to pre-handshake checks in ngx_http_ssl_handshake(),
but can happen when SSL is used in stream and mail modules.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 05 Jul 2018 20:45:29 +0300 |
parents | abe1b60c4213 |
children | 7c00d8dbdb3a |
files | src/event/ngx_event_openssl.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.c Mon Jul 02 19:03:04 2018 +0300 +++ b/src/event/ngx_event_openssl.c Thu Jul 05 20:45:29 2018 +0300 @@ -2063,6 +2063,8 @@ || n == SSL_R_DIGEST_CHECK_FAILED /* 149 */ || n == SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST /* 151 */ || n == SSL_R_EXCESSIVE_MESSAGE_SIZE /* 152 */ + || n == SSL_R_HTTPS_PROXY_REQUEST /* 155 */ + || n == SSL_R_HTTP_REQUEST /* 156 */ || n == SSL_R_LENGTH_MISMATCH /* 159 */ #ifdef SSL_R_NO_CIPHERS_PASSED || n == SSL_R_NO_CIPHERS_PASSED /* 182 */