aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-10-19 16:16:47 +0300
committerValentin Bartenev <vbart@nginx.com>2015-10-19 16:16:47 +0300
commit7d2af13f3a51e5932e850db751171bd4fb6a93c6 (patch)
tree2209be0808b5c43f471466cb30c10ae0930c1294 /src
parent645697f111983089fdcee0694d17480e0a05a3a5 (diff)
downloadnginx-7d2af13f3a51e5932e850db751171bd4fb6a93c6.tar.gz
nginx-7d2af13f3a51e5932e850db751171bd4fb6a93c6.zip
HTTP/2: fixed parsing of literal header fields without indexing.
Diffstat (limited to 'src')
-rw-r--r--src/http/v2/ngx_http_v2.c2
1 files changed, 1 insertions, 1 deletions
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);