Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_parse.h @ 8295:5649079a41f4 quic
Parsing HTTP/3 request body.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 27 Mar 2020 19:41:06 +0300 |
parents | 268f4389130d |
children | b0e81f49d7c0 |
comparison
equal
deleted
inserted
replaced
8294:32db41d603cd | 8295:5649079a41f4 |
---|---|
103 ngx_http_v3_parse_varlen_int_t vlint; | 103 ngx_http_v3_parse_varlen_int_t vlint; |
104 ngx_http_v3_parse_settings_t settings; | 104 ngx_http_v3_parse_settings_t settings; |
105 } ngx_http_v3_parse_control_t; | 105 } ngx_http_v3_parse_control_t; |
106 | 106 |
107 | 107 |
108 typedef struct { | |
109 ngx_uint_t state; | |
110 ngx_uint_t length; | |
111 ngx_http_v3_parse_varlen_int_t vlint; | |
112 } ngx_http_v3_parse_data_t; | |
113 | |
114 | |
108 ngx_int_t ngx_http_v3_parse_varlen_int(ngx_connection_t *c, | 115 ngx_int_t ngx_http_v3_parse_varlen_int(ngx_connection_t *c, |
109 ngx_http_v3_parse_varlen_int_t *st, u_char ch); | 116 ngx_http_v3_parse_varlen_int_t *st, u_char ch); |
110 ngx_int_t ngx_http_v3_parse_prefix_int(ngx_connection_t *c, | 117 ngx_int_t ngx_http_v3_parse_prefix_int(ngx_connection_t *c, |
111 ngx_http_v3_parse_prefix_int_t *st, ngx_uint_t prefix, u_char ch); | 118 ngx_http_v3_parse_prefix_int_t *st, ngx_uint_t prefix, u_char ch); |
112 | 119 |
139 ngx_int_t ngx_http_v3_parse_header_iwnr(ngx_connection_t *c, | 146 ngx_int_t ngx_http_v3_parse_header_iwnr(ngx_connection_t *c, |
140 ngx_http_v3_parse_header_t *st, u_char ch); | 147 ngx_http_v3_parse_header_t *st, u_char ch); |
141 | 148 |
142 ngx_int_t ngx_http_v3_parse_decoder(ngx_connection_t *c, void *data, u_char ch); | 149 ngx_int_t ngx_http_v3_parse_decoder(ngx_connection_t *c, void *data, u_char ch); |
143 | 150 |
151 ngx_int_t ngx_http_v3_parse_data(ngx_connection_t *c, | |
152 ngx_http_v3_parse_data_t *st, u_char ch); | |
153 | |
144 | 154 |
145 #endif /* _NGX_HTTP_V3_PARSE_H_INCLUDED_ */ | 155 #endif /* _NGX_HTTP_V3_PARSE_H_INCLUDED_ */ |