Browse Source

[mod_openssl] do not log ECONNRESET unless debug

do not log ECONNRESET to errorlog unless debug.log-ssl-noise = "enable"
personal/stbuehler/ci-build
Glenn Strauss 2 years ago
parent
commit
b33b6f9121
  1. 3
      src/mod_openssl.c

3
src/mod_openssl.c

@ -1968,6 +1968,9 @@ connection_read_cq_ssl (connection *con, chunkqueue *cq, off_t max_bytes)
}
switch(oerrno) {
case ECONNRESET:
if (!hctx->conf.ssl_log_noise) break;
/* fall through */
default:
/* (oerrno should be something like ECONNABORTED not 0
* if client disconnected before anything was sent

Loading…
Cancel
Save