Mercurial > hg > nginx
changeset 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 | cec7f207a4bf |
files | src/event/ngx_event_quic.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c Fri Aug 21 14:41:41 2020 +0300 +++ b/src/event/ngx_event_quic.c Fri Aug 21 14:41:42 2020 +0300 @@ -2918,6 +2918,7 @@ "quic handshake completed successfully"); c->ssl->handshaked = 1; + c->ssl->no_wait_shutdown = 1; frame = ngx_quic_alloc_frame(c, 0); if (frame == NULL) {