From 7d2af13f3a51e5932e850db751171bd4fb6a93c6 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 19 Oct 2015 16:16:47 +0300 Subject: HTTP/2: fixed parsing of literal header fields without indexing. --- src/http/v2/ngx_http_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index 9c6aeb7be..54458daeb 100644 --- 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_v2_connection_t *h2c, u_char *pos, } 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); -- cgit