comparison src/event/quic/ngx_event_quic_ssl.c @ 9078:0f4f781e57c1 quic

QUIC: using ngx_ssl_handshake_log().
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 23 Feb 2023 16:17:29 +0400
parents cb7dc35ed428
children 639fa6723700
comparison
equal deleted inserted replaced
9077:cb7dc35ed428 9078:0f4f781e57c1
438 } 438 }
439 439
440 return NGX_OK; 440 return NGX_OK;
441 } 441 }
442 442
443 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, 443 #if (NGX_DEBUG)
444 "quic ssl cipher:%s", SSL_get_cipher(ssl_conn)); 444 ngx_ssl_handshake_log(c);
445 445 #endif
446 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
447 "quic handshake completed successfully");
448 446
449 c->ssl->handshaked = 1; 447 c->ssl->handshaked = 1;
450 448
451 frame = ngx_quic_alloc_frame(c); 449 frame = ngx_quic_alloc_frame(c);
452 if (frame == NULL) { 450 if (frame == NULL) {