diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2023-02-23 16:17:29 +0400 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2023-02-23 16:17:29 +0400 |
| commit | d9610b40a658a6331fc61cb41d7d255f9566cd2e (patch) | |
| tree | 68921ceab48deeef5ddc0b3f5263e99f7ff78fa5 /src/event/quic | |
| parent | 5149620d6d41571306257f001fa5fd412168a866 (diff) | |
| download | nginx-d9610b40a658a6331fc61cb41d7d255f9566cd2e.tar.gz nginx-d9610b40a658a6331fc61cb41d7d255f9566cd2e.tar.bz2 | |
QUIC: using ngx_ssl_handshake_log().
Diffstat (limited to 'src/event/quic')
| -rw-r--r-- | src/event/quic/ngx_event_quic_ssl.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c index 595abed89..2df38b386 100644 --- a/src/event/quic/ngx_event_quic_ssl.c +++ b/src/event/quic/ngx_event_quic_ssl.c @@ -440,11 +440,9 @@ ngx_quic_crypto_input(ngx_connection_t *c, ngx_chain_t *data) return NGX_OK; } - ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, - "quic ssl cipher:%s", SSL_get_cipher(ssl_conn)); - - ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, - "quic handshake completed successfully"); +#if (NGX_DEBUG) + ngx_ssl_handshake_log(c); +#endif c->ssl->handshaked = 1; |
