Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_request.c @ 8724:fc64ab301bad quic
QUIC: connection shutdown.
The function ngx_quic_shutdown_connection() waits until all non-cancelable
streams are closed, and then closes the connection. In HTTP/3 cancelable
streams are all unidirectional streams except push streams.
The function is called from HTTP/3 when client reaches keepalive_requests.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 15 Mar 2021 16:39:33 +0300 |
parents | 265062a99043 |
children | 98c4020f1c9a |
comparison
equal
deleted
inserted
replaced
8723:265062a99043 | 8724:fc64ab301bad |
---|---|
91 ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_INTERNAL_ERROR, | 91 ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_INTERNAL_ERROR, |
92 "goaway error"); | 92 "goaway error"); |
93 ngx_http_close_connection(c); | 93 ngx_http_close_connection(c); |
94 return; | 94 return; |
95 } | 95 } |
96 | |
97 ngx_http_v3_shutdown_connection(c, NGX_HTTP_V3_ERR_NO_ERROR, | |
98 "reached maximum number of requests"); | |
96 } | 99 } |
97 | 100 |
98 cscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_core_module); | 101 cscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_core_module); |
99 | 102 |
100 size = cscf->client_header_buffer_size; | 103 size = cscf->client_header_buffer_size; |