# HG changeset patch # User Sergey Kandaurov # Date 1598010102 -10800 # Node ID 11fc65261689e1ef16bffced1ea6c535a5040fe7 # Parent 64a484fd40a931cf372ff776ebe743154ba7a8a7 QUIC: disabled bidirectional SSL shutdown after 09fb2135a589. On QUIC connections, SSL_shutdown() is used to call the send_alert callback to send a CONNECTION_CLOSE frame. The reverse side is handled by other means. At least BoringSSL doesn't differentiate whether this is a QUIC SSL method, so waiting for the peer's close_notify alert should be explicitly disabled. 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 @@ -2918,6 +2918,7 @@ ngx_quic_crypto_input(ngx_connection_t * "quic handshake completed successfully"); c->ssl->handshaked = 1; + c->ssl->no_wait_shutdown = 1; frame = ngx_quic_alloc_frame(c, 0); if (frame == NULL) {