diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2025-05-06 15:09:28 +0400 |
---|---|---|
committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-05-23 15:00:47 +0400 |
commit | ef9cd3214ff3d9d1513da8927423f42184dcf8e5 (patch) | |
tree | 5f85932e43e232427f1e7e9ec69fb20e1d83729c /src/event/quic/ngx_event_quic_ssl.c | |
parent | aa43385ffa9acda2f9a45265bbe8e9213d9a840e (diff) | |
download | nginx-ef9cd3214ff3d9d1513da8927423f42184dcf8e5.tar.gz nginx-ef9cd3214ff3d9d1513da8927423f42184dcf8e5.zip |
QUIC: logging level of handshake errors.
Various errors reported by SSL_do_handshake() are now logged at the
"info" or "crit" level, akin to handshakes on regular TCP connections.
Diffstat (limited to 'src/event/quic/ngx_event_quic_ssl.c')
-rw-r--r-- | src/event/quic/ngx_event_quic_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c index f255f77a2..ddc6c7c3b 100644 --- a/src/event/quic/ngx_event_quic_ssl.c +++ b/src/event/quic/ngx_event_quic_ssl.c @@ -427,7 +427,7 @@ ngx_quic_crypto_input(ngx_connection_t *c, ngx_chain_t *data, return NGX_ERROR; } - ngx_ssl_error(NGX_LOG_ERR, c->log, 0, "SSL_do_handshake() failed"); + ngx_ssl_connection_error(c, sslerr, 0, "SSL_do_handshake() failed"); return NGX_ERROR; } } |