diff options
| author | Vladimir Homutov <vl@nginx.com> | 2021-06-10 23:17:51 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2021-06-10 23:17:51 +0300 |
| commit | bf7b32e1b60e48db7cf2a938dc4a57dfb13ce0a6 (patch) | |
| tree | 11c96bf32f0b7578b271fe622c188d9e99fc8426 /src/event/quic/ngx_event_quic_ssl.c | |
| parent | 0c77dc9c0bd9ec6c4cc38f460dfc0180a94b9910 (diff) | |
| download | nginx-bf7b32e1b60e48db7cf2a938dc4a57dfb13ce0a6.tar.gz nginx-bf7b32e1b60e48db7cf2a938dc4a57dfb13ce0a6.tar.bz2 | |
QUIC: improved errors readability.
Diffstat (limited to 'src/event/quic/ngx_event_quic_ssl.c')
| -rw-r--r-- | src/event/quic/ngx_event_quic_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c index 3ade0b5ac..1ee687b38 100644 --- a/src/event/quic/ngx_event_quic_ssl.c +++ b/src/event/quic/ngx_event_quic_ssl.c @@ -404,6 +404,7 @@ ngx_quic_crypto_input(ngx_connection_t *c, ngx_chain_t *data) if (sslerr != SSL_ERROR_WANT_READ) { ngx_ssl_error(NGX_LOG_ERR, c->log, 0, "SSL_do_handshake() failed"); + qc->error_reason = "handshake failed"; return NGX_ERROR; } |
