comparison 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
comparison
equal deleted inserted replaced
6247:fbbb1c1ce1eb 6248:f5380c244cd7
1449 size = h2c->state.field_rest; 1449 size = h2c->state.field_rest;
1450 } 1450 }
1451 1451
1452 h2c->state.field_rest -= size; 1452 h2c->state.field_rest -= size;
1453 1453
1454 if (h2c->state.field_rest) {
1455 return ngx_http_v2_state_save(h2c, end, end,
1456 ngx_http_v2_state_field_skip);
1457 }
1458
1454 return ngx_http_v2_state_process_header(h2c, pos + size, end); 1459 return ngx_http_v2_state_process_header(h2c, pos + size, end);
1455 } 1460 }
1456 1461
1457 1462
1458 static u_char * 1463 static u_char *