comparison src/http/v3/ngx_http_v3.h @ 8358:265062a99043 quic

HTTP/3: send GOAWAY when last request is accepted. The last request in connection is determined according to the keepalive_requests directive. Requests beyond keepalive_requests are rejected.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 15 Mar 2021 19:26:04 +0300
parents ffcaf0aad9f2
children fc64ab301bad
comparison
equal deleted inserted replaced
8357:7a07724256c2 8358:265062a99043
159 159
160 ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c); 160 ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c);
161 void ngx_http_v3_init_uni_stream(ngx_connection_t *c); 161 void ngx_http_v3_init_uni_stream(ngx_connection_t *c);
162 ngx_connection_t *ngx_http_v3_create_push_stream(ngx_connection_t *c, 162 ngx_connection_t *ngx_http_v3_create_push_stream(ngx_connection_t *c,
163 uint64_t push_id); 163 uint64_t push_id);
164 ngx_int_t ngx_http_v3_send_goaway(ngx_connection_t *c, uint64_t id);
164 ngx_int_t ngx_http_v3_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic, 165 ngx_int_t ngx_http_v3_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic,
165 ngx_uint_t index, ngx_str_t *value); 166 ngx_uint_t index, ngx_str_t *value);
166 ngx_int_t ngx_http_v3_insert(ngx_connection_t *c, ngx_str_t *name, 167 ngx_int_t ngx_http_v3_insert(ngx_connection_t *c, ngx_str_t *name,
167 ngx_str_t *value); 168 ngx_str_t *value);
168 ngx_int_t ngx_http_v3_set_capacity(ngx_connection_t *c, ngx_uint_t capacity); 169 ngx_int_t ngx_http_v3_set_capacity(ngx_connection_t *c, ngx_uint_t capacity);