Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_ssl.c @ 8793:80d396fd8ee8 quic
QUIC: improved errors readability.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 10 Jun 2021 23:17:51 +0300 |
parents | b3f6ad181df4 |
children | 4715f3e669f1 |
comparison
equal
deleted
inserted
replaced
8792:004172345bdc | 8793:80d396fd8ee8 |
---|---|
402 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "SSL_get_error: %d", | 402 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "SSL_get_error: %d", |
403 sslerr); | 403 sslerr); |
404 | 404 |
405 if (sslerr != SSL_ERROR_WANT_READ) { | 405 if (sslerr != SSL_ERROR_WANT_READ) { |
406 ngx_ssl_error(NGX_LOG_ERR, c->log, 0, "SSL_do_handshake() failed"); | 406 ngx_ssl_error(NGX_LOG_ERR, c->log, 0, "SSL_do_handshake() failed"); |
407 qc->error_reason = "handshake failed"; | |
407 return NGX_ERROR; | 408 return NGX_ERROR; |
408 } | 409 } |
409 | 410 |
410 return NGX_OK; | 411 return NGX_OK; |
411 } | 412 } |