mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
HTTP/2: fixed parsing of literal header fields without indexing.
This commit is contained in:
parent
645697f111
commit
7d2af13f3a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user