Mercurial > hg > nginx
diff src/http/v2/ngx_http_v2.c @ 6248:f5380c244cd7
HTTP/2: fixed HPACK header field parsing.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 22 Sep 2015 01:40:04 +0300 |
parents | 257b51c37c5a |
children | 081a073e5164 |
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -1451,6 +1451,11 @@ ngx_http_v2_state_field_skip(ngx_http_v2 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); }