]> git.kaiwu.me - nginx.git/commit
QUIC: idle mode for main connection.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 19 Oct 2022 13:45:18 +0000 (17:45 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 19 Oct 2022 13:45:18 +0000 (17:45 +0400)
commitfed44881d3bf5126b49144dba58f2830e0fe9866
tree6137fc2bdbb276dfceb695f1f10bc674e44fa139
parentdd4c31fc34bd8390dd3fa9e804afc15b57b69135
QUIC: idle mode for main connection.

Now main QUIC connection for HTTP/3 always has c->idle flag set.  This allows
the connection to receive worker shutdown notification.  It is passed to
application level via a new conf->shutdown() callback.

The HTTP/3 shutdown callback sends GOAWAY to client and gracefully shuts down
the QUIC connection.
src/event/quic/ngx_event_quic.c
src/event/quic/ngx_event_quic.h
src/http/v3/ngx_http_v3.h
src/http/v3/ngx_http_v3_module.c
src/http/v3/ngx_http_v3_request.c