comparison src/http/v3/ngx_http_v3_parse.h @ 8508:0ac25efb2da3 quic

HTTP/3: quic-qpack term updates. Renamed header -> field per quic-qpack naming convention, in particular: - Header Field -> Field Line - Header Block -> (Encoded) Field Section - Without Name Reference -> With Literal Name - Header Acknowledgement -> Section Acknowledgment
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 01 Jul 2021 15:37:53 +0300
parents 345370fdd32d
children d6e191a583cc
comparison
equal deleted inserted replaced
8507:f8ad3dd142ad 8508:0ac25efb2da3
39 ngx_uint_t insert_count; 39 ngx_uint_t insert_count;
40 ngx_uint_t delta_base; 40 ngx_uint_t delta_base;
41 ngx_uint_t sign; 41 ngx_uint_t sign;
42 ngx_uint_t base; 42 ngx_uint_t base;
43 ngx_http_v3_parse_prefix_int_t pint; 43 ngx_http_v3_parse_prefix_int_t pint;
44 } ngx_http_v3_parse_header_block_prefix_t; 44 } ngx_http_v3_parse_field_section_prefix_t;
45 45
46 46
47 typedef struct { 47 typedef struct {
48 ngx_uint_t state; 48 ngx_uint_t state;
49 ngx_uint_t length; 49 ngx_uint_t length;
63 ngx_str_t name; 63 ngx_str_t name;
64 ngx_str_t value; 64 ngx_str_t value;
65 65
66 ngx_http_v3_parse_prefix_int_t pint; 66 ngx_http_v3_parse_prefix_int_t pint;
67 ngx_http_v3_parse_literal_t literal; 67 ngx_http_v3_parse_literal_t literal;
68 } ngx_http_v3_parse_header_t; 68 } ngx_http_v3_parse_field_t;
69 69
70 70
71 typedef struct { 71 typedef struct {
72 ngx_uint_t state; 72 ngx_uint_t state;
73 ngx_http_v3_parse_header_t header; 73 ngx_http_v3_parse_field_t field;
74 } ngx_http_v3_parse_header_rep_t; 74 } ngx_http_v3_parse_field_rep_t;
75 75
76 76
77 typedef struct { 77 typedef struct {
78 ngx_uint_t state; 78 ngx_uint_t state;
79 ngx_uint_t type; 79 ngx_uint_t type;
80 ngx_uint_t length; 80 ngx_uint_t length;
81 ngx_http_v3_parse_varlen_int_t vlint; 81 ngx_http_v3_parse_varlen_int_t vlint;
82 ngx_http_v3_parse_header_block_prefix_t prefix; 82 ngx_http_v3_parse_field_section_prefix_t prefix;
83 ngx_http_v3_parse_header_rep_t header_rep; 83 ngx_http_v3_parse_field_rep_t field_rep;
84 } ngx_http_v3_parse_headers_t; 84 } ngx_http_v3_parse_headers_t;
85 85
86 86
87 typedef struct { 87 typedef struct {
88 ngx_uint_t state; 88 ngx_uint_t state;
89 ngx_http_v3_parse_header_t header; 89 ngx_http_v3_parse_field_t field;
90 ngx_http_v3_parse_prefix_int_t pint; 90 ngx_http_v3_parse_prefix_int_t pint;
91 } ngx_http_v3_parse_encoder_t; 91 } ngx_http_v3_parse_encoder_t;
92 92
93 93
94 typedef struct { 94 typedef struct {