mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00:00
HTTP/2: fixed HPACK header field parsing.
This commit is contained in:
parent
f64ff24451
commit
a27d0bd00d
1 changed files with 5 additions and 0 deletions
|
|
@ -1451,6 +1451,11 @@ ngx_http_v2_state_field_skip(ngx_http_v2_connection_t *h2c, u_char *pos,
|
|||
|
||||
h2c->state.field_rest -= size;
|
||||
|
||||
if (h2c->state.field_rest) {
|
||||
return ngx_http_v2_state_save(h2c, end, end,
|
||||
ngx_http_v2_state_field_skip);
|
||||
}
|
||||
|
||||
return ngx_http_v2_state_process_header(h2c, pos + size, end);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue