Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_parse.h @ 8455:b0e81f49d7c0 quic
HTTP/3: fixed prefixed integer encoding and decoding.
Previously bytes were ordered from MSB to LSB, but the right order is the
reverse.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 02 Jul 2020 15:15:55 +0300 |
parents | 5649079a41f4 |
children | 72f9ff4e0a88 |
comparison
equal
deleted
inserted
replaced
8454:032cb35ce758 | 8455:b0e81f49d7c0 |
---|---|
20 } ngx_http_v3_parse_varlen_int_t; | 20 } ngx_http_v3_parse_varlen_int_t; |
21 | 21 |
22 | 22 |
23 typedef struct { | 23 typedef struct { |
24 ngx_uint_t state; | 24 ngx_uint_t state; |
25 ngx_uint_t mask; | 25 ngx_uint_t shift; |
26 uint64_t value; | 26 uint64_t value; |
27 } ngx_http_v3_parse_prefix_int_t; | 27 } ngx_http_v3_parse_prefix_int_t; |
28 | 28 |
29 | 29 |
30 typedef struct { | 30 typedef struct { |