aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-07-05 20:45:29 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-07-05 20:45:29 +0300
commitf206a112c6f9b1701a2dbb8c45340b9dfc964f0b (patch)
tree6b3f5c5c335bc7c22b4e6058cf71a6875f0b6794 /src
parentc62f9c914ffea544e351cf4893b704b8b28a3a8e (diff)
downloadnginx-f206a112c6f9b1701a2dbb8c45340b9dfc964f0b.tar.gz
nginx-f206a112c6f9b1701a2dbb8c45340b9dfc964f0b.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
index fe14a291a..b86805614 100644
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -2062,6 +2062,8 @@ ngx_ssl_connection_error(ngx_connection_t *c, int sslerr, ngx_err_t err,
|| 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 */