aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-08-05 09:20:32 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-08-05 09:20:32 +0300
commitdab9163a95cb9c1c00ee9a3644c58474528b0f2b (patch)
tree095ec68bffcf70e1f4d32f4d1508c1ca7442b60d /src/http/v3/ngx_http_v3_request.c
parent0b179efeb0bc18e92a31748685cc74240ddb5667 (diff)
downloadnginx-dab9163a95cb9c1c00ee9a3644c58474528b0f2b.tar.gz
nginx-dab9163a95cb9c1c00ee9a3644c58474528b0f2b.zip
QUIC: asynchronous shutdown.
Previously, when cleaning up a QUIC stream in shutdown mode, ngx_quic_shutdown_quic() was called, which could close the QUIC connection right away. This could be a problem if the connection was referenced up the stack. For example, this could happen in ngx_quic_init_streams(), ngx_quic_close_streams(), ngx_quic_create_client_stream() etc. With a typical HTTP/3 client the issue is unlikely because of HTTP/3 uni streams which need a posted event to close. In this case QUIC connection cannot be closed right away. Now QUIC connection read event is posted and it will shut down the connection asynchronously.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
0 files changed, 0 insertions, 0 deletions