comparison src/event/ngx_event_quic.c @ 8526:11fc65261689 quic

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.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 21 Aug 2020 14:41:42 +0300
parents 64a484fd40a9
children 97da6521657c
comparison
equal deleted inserted replaced
8525:64a484fd40a9 8526:11fc65261689
2916 2916
2917 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, 2917 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
2918 "quic handshake completed successfully"); 2918 "quic handshake completed successfully");
2919 2919
2920 c->ssl->handshaked = 1; 2920 c->ssl->handshaked = 1;
2921 c->ssl->no_wait_shutdown = 1;
2921 2922
2922 frame = ngx_quic_alloc_frame(c, 0); 2923 frame = ngx_quic_alloc_frame(c, 0);
2923 if (frame == NULL) { 2924 if (frame == NULL) {
2924 return NGX_ERROR; 2925 return NGX_ERROR;
2925 } 2926 }