aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_parse.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-07-02 15:15:55 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-07-02 15:15:55 +0300
commita7ef0da3c8b64f2b5f4d8a7e73e724a74611284c (patch)
tree8e759b348f31e10b8254c2f37c17d9efe581d087 /src/http/v3/ngx_http_v3_parse.h
parent8d41d17a12509d6f80f51a27046b7a10882892ef (diff)
downloadnginx-a7ef0da3c8b64f2b5f4d8a7e73e724a74611284c.tar.gz
nginx-a7ef0da3c8b64f2b5f4d8a7e73e724a74611284c.zip
HTTP/3: fixed prefixed integer encoding and decoding.
Previously bytes were ordered from MSB to LSB, but the right order is the reverse.
Diffstat (limited to 'src/http/v3/ngx_http_v3_parse.h')
-rw-r--r--src/http/v3/ngx_http_v3_parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3_parse.h b/src/http/v3/ngx_http_v3_parse.h
index ec78c7c35..17ff6c777 100644
--- a/src/http/v3/ngx_http_v3_parse.h
+++ b/src/http/v3/ngx_http_v3_parse.h
@@ -22,7 +22,7 @@ typedef struct {
typedef struct {
ngx_uint_t state;
- ngx_uint_t mask;
+ ngx_uint_t shift;
uint64_t value;
} ngx_http_v3_parse_prefix_int_t;