From 9d465009149c67325d9ac49503891cc84e5eaef8 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 23 Jun 2020 11:57:00 +0300 Subject: Do not close QUIC sockets in ngx_close_listening_sockets(). This breaks graceful shutdown of QUIC connections in terms of quic-transport. --- src/http/ngx_http.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/http') diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 1b5e387db..0a645722c 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1797,6 +1797,10 @@ ngx_http_add_listening(ngx_conf_t *cf, ngx_http_conf_addr_t *addr) ls->wildcard = addr->opt.wildcard; +#if (NGX_HTTP_SSL) + ls->quic = addr->opt.http3; +#endif + return ls; } -- cgit