aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-06-23 11:57:00 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-06-23 11:57:00 +0300
commit9d465009149c67325d9ac49503891cc84e5eaef8 (patch)
tree71713b4d7c43b4b74e619315958c666433436389 /src/http/ngx_http.c
parentc31e1054034589af9a12119371e502748af61e5a (diff)
downloadnginx-9d465009149c67325d9ac49503891cc84e5eaef8.tar.gz
nginx-9d465009149c67325d9ac49503891cc84e5eaef8.zip
Do not close QUIC sockets in ngx_close_listening_sockets().
This breaks graceful shutdown of QUIC connections in terms of quic-transport.
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c4
1 files changed, 4 insertions, 0 deletions
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;
}