comparison src/http/v3/ngx_http_v3.h @ 8772:345370fdd32d quic

HTTP/3: moved parsing uni stream type to ngx_http_v3_parse.c. Previously it was parsed in ngx_http_v3_streams.c, while the streams were parsed in ngx_http_v3_parse.c. Now all parsing is done in one file. This simplifies parsing API and cleans up ngx_http_v3_streams.c.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 05 May 2021 15:00:17 +0300
parents 0981329169ea
children b43e50f47b2e
comparison
equal deleted inserted replaced
8771:0981329169ea 8772:345370fdd32d
167 uintptr_t ngx_http_v3_encode_header_lpbi(u_char *p, ngx_uint_t index, 167 uintptr_t ngx_http_v3_encode_header_lpbi(u_char *p, ngx_uint_t index,
168 u_char *data, size_t len); 168 u_char *data, size_t len);
169 169
170 ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c); 170 ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c);
171 void ngx_http_v3_init_uni_stream(ngx_connection_t *c); 171 void ngx_http_v3_init_uni_stream(ngx_connection_t *c);
172 ngx_int_t ngx_http_v3_register_uni_stream(ngx_connection_t *c, uint64_t type);
172 ngx_connection_t *ngx_http_v3_create_push_stream(ngx_connection_t *c, 173 ngx_connection_t *ngx_http_v3_create_push_stream(ngx_connection_t *c,
173 uint64_t push_id); 174 uint64_t push_id);
174 ngx_int_t ngx_http_v3_send_goaway(ngx_connection_t *c, uint64_t id); 175 ngx_int_t ngx_http_v3_send_goaway(ngx_connection_t *c, uint64_t id);
175 ngx_int_t ngx_http_v3_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic, 176 ngx_int_t ngx_http_v3_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic,
176 ngx_uint_t index, ngx_str_t *value); 177 ngx_uint_t index, ngx_str_t *value);