[mod_mbedtls] quiet CLOSE_NOTIFY after conn reset

do not log error after connection reset
master
Glenn Strauss 3 years ago
parent f846a392d5
commit 496cd8ff44

@ -2094,6 +2094,8 @@ mod_mbedtls_close_notify (handler_ctx *hctx)
default:
elog(hctx->r->conf.errh, __FILE__, __LINE__, rc,
"mbedtls_ssl_close_notify()");
__attribute_fallthrough__
case MBEDTLS_ERR_NET_CONN_RESET:
mbedtls_ssl_session_reset(&hctx->ssl);
mod_mbedtls_detach(hctx);
return -1;

Loading…
Cancel
Save