Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3.h @ 8359: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
8358:265062a99043 | 8359:fc64ab301bad |
---|---|
79 ((ngx_http_v3_connection_t *) c->quic->parent->data)->hc.conf_ctx, \ | 79 ((ngx_http_v3_connection_t *) c->quic->parent->data)->hc.conf_ctx, \ |
80 module) | 80 module) |
81 | 81 |
82 #define ngx_http_v3_finalize_connection(c, code, reason) \ | 82 #define ngx_http_v3_finalize_connection(c, code, reason) \ |
83 ngx_quic_finalize_connection(c->quic->parent, code, reason) | 83 ngx_quic_finalize_connection(c->quic->parent, code, reason) |
84 | |
85 #define ngx_http_v3_shutdown_connection(c, code, reason) \ | |
86 ngx_quic_shutdown_connection(c->quic->parent, code, reason) | |
84 | 87 |
85 | 88 |
86 typedef struct { | 89 typedef struct { |
87 ngx_quic_tp_t quic; | 90 ngx_quic_tp_t quic; |
88 size_t max_table_capacity; | 91 size_t max_table_capacity; |