# 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 -r 2f34ea503ac4 -r 0e37389c0bd5 src/http/v2/ngx_http_v2.c --- a/src/http/v2/ngx_http_v2.c Wed Oct 07 22:19:42 2015 +0300 +++ b/src/http/v2/ngx_http_v2.c Mon Oct 19 16:16:47 2015 +0300 @@ -1233,7 +1233,7 @@ } 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);