# HG changeset patch # User Valentin Bartenev # Date 1445260607 -10800 # Node ID 0e37389c0bd5ef2341fbfc297b5d59215306b9dd # Parent 2f34ea503ac4e015cc08f6efbb279b360eda609c HTTP/2: fixed parsing of literal header fields without indexing. diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c --- 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);