Mercurial > hg > nginx
diff src/http/v2/ngx_http_v2.c @ 6260:0e37389c0bd5
HTTP/2: fixed parsing of literal header fields without indexing.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 19 Oct 2015 16:16:47 +0300 |
parents | 9dfc4ba140f9 |
children | adaac65899c8 |
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -1233,7 +1233,7 @@ ngx_http_v2_state_header_block(ngx_http_ } else { /* literal header field without indexing */ - prefix = ngx_http_v2_prefix(3); + prefix = ngx_http_v2_prefix(4); } value = ngx_http_v2_parse_int(h2c, &pos, end, prefix);