# HG changeset patch # User Sergey Kandaurov # Date 1585736862 -10800 # Node ID 76818c9cdd6f413fe11880d28b35cb31eac3e964 # Parent c9fbe9508e1ff6780b377e6bd310de61692f626f Sending HANDSHAKE_DONE just once with BoringSSL. If early data is accepted, SSL_do_handshake() completes as soon as ClientHello is processed. SSL_in_init() will report the handshake is still in progress. diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1060,7 +1060,7 @@ ngx_quic_handle_crypto_frame(ngx_connect return NGX_ERROR; } - } else if (n == 1) { + } else if (n == 1 && !SSL_in_init(ssl_conn)) { c->quic->state = NGX_QUIC_ST_APPLICATION; ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0,