HTTP/2: fixed parsing of literal header fields without indexing.

This commit is contained in:
Valentin Bartenev 2015-10-19 16:16:47 +03:00
parent 645697f111
commit 7d2af13f3a

View File

@ -1233,7 +1233,7 @@ ngx_http_v2_state_header_block(ngx_http_v2_connection_t *h2c, u_char *pos,
} else { } else {
/* literal header field without indexing */ /* 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); value = ngx_http_v2_parse_int(h2c, &pos, end, prefix);