diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-06-23 11:57:00 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-06-23 11:57:00 +0300 |
commit | 9d465009149c67325d9ac49503891cc84e5eaef8 (patch) | |
tree | 71713b4d7c43b4b74e619315958c666433436389 /src/http/ngx_http.c | |
parent | c31e1054034589af9a12119371e502748af61e5a (diff) | |
download | nginx-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.c | 4 |
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; } |