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 962f253d1b
commit 22ffc8e33e

View file

@ -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);