changeset 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 2f34ea503ac4
children 97f102a13f33
files src/http/v2/ngx_http_v2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);