comparison src/event/ngx_event_openssl.c @ 9265:d89e0386b695

SSL: logging level of "invalid alert" errors. The SSL_R_INVALID_ALERT ("invalid alert") errors are reported by OpenSSL 1.1.1 or newer if the client sends a malformed alert. These errors are now logged at the "info" level.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 May 2024 00:07:18 +0300
parents f5423ee155fe
children
comparison
equal deleted inserted replaced
9264:f5423ee155fe 9265:d89e0386b695
3492 #endif 3492 #endif
3493 || n == SSL_R_NO_COMPRESSION_SPECIFIED /* 187 */ 3493 || n == SSL_R_NO_COMPRESSION_SPECIFIED /* 187 */
3494 || n == SSL_R_NO_SHARED_CIPHER /* 193 */ 3494 || n == SSL_R_NO_SHARED_CIPHER /* 193 */
3495 #ifdef SSL_R_PACKET_LENGTH_TOO_LONG 3495 #ifdef SSL_R_PACKET_LENGTH_TOO_LONG
3496 || n == SSL_R_PACKET_LENGTH_TOO_LONG /* 198 */ 3496 || n == SSL_R_PACKET_LENGTH_TOO_LONG /* 198 */
3497 #endif
3498 #ifdef SSL_R_INVALID_ALERT
3499 || n == SSL_R_INVALID_ALERT /* 205 */
3497 #endif 3500 #endif
3498 || n == SSL_R_RECORD_LENGTH_MISMATCH /* 213 */ 3501 || n == SSL_R_RECORD_LENGTH_MISMATCH /* 213 */
3499 #ifdef SSL_R_TOO_MANY_WARNING_ALERTS 3502 #ifdef SSL_R_TOO_MANY_WARNING_ALERTS
3500 || n == SSL_R_TOO_MANY_WARNING_ALERTS /* 220 */ 3503 || n == SSL_R_TOO_MANY_WARNING_ALERTS /* 220 */
3501 #endif 3504 #endif