Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_tables.h @ 8775:6e2c23481abb quic
HTTP/3: clean up table from session cleanup handler.
Previously table had a separate cleanup handler.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 28 Apr 2021 11:30:27 +0300 |
parents | b43e50f47b2e |
children | 0ac25efb2da3 |
comparison
equal
deleted
inserted
replaced
8774:f4d3f5d93a82 | 8775:6e2c23481abb |
---|---|
27 size_t size; | 27 size_t size; |
28 size_t capacity; | 28 size_t capacity; |
29 } ngx_http_v3_dynamic_table_t; | 29 } ngx_http_v3_dynamic_table_t; |
30 | 30 |
31 | 31 |
32 void ngx_http_v3_cleanup_table(ngx_http_v3_session_t *h3c); | |
32 ngx_int_t ngx_http_v3_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic, | 33 ngx_int_t ngx_http_v3_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic, |
33 ngx_uint_t index, ngx_str_t *value); | 34 ngx_uint_t index, ngx_str_t *value); |
34 ngx_int_t ngx_http_v3_insert(ngx_connection_t *c, ngx_str_t *name, | 35 ngx_int_t ngx_http_v3_insert(ngx_connection_t *c, ngx_str_t *name, |
35 ngx_str_t *value); | 36 ngx_str_t *value); |
36 ngx_int_t ngx_http_v3_set_capacity(ngx_connection_t *c, ngx_uint_t capacity); | 37 ngx_int_t ngx_http_v3_set_capacity(ngx_connection_t *c, ngx_uint_t capacity); |