Skip to content

Commit

Permalink
HTTP/2: fixed HPACK header field parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
VBart committed Sep 21, 2015
1 parent f64ff24 commit a27d0bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/http/v2/ngx_http_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a27d0bd

Please sign in to comment.