]> git.kaiwu.me - nginx.git/commit
HTTP/2: fix flow control with padded DATA frames.
authorPiotr Sikora <piotrsikora@google.com>
Sun, 26 Mar 2017 08:25:04 +0000 (01:25 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Sun, 26 Mar 2017 08:25:04 +0000 (01:25 -0700)
commitf2393f8feff45835c0b612c1871afa015361637c
tree7a2c1bd21b03ded488a38cf3eaf3fe8dd990664f
parentd2008dbc7d058cd88b1bd17f072d6300c0669b9f
HTTP/2: fix flow control with padded DATA frames.

Previously, flow control didn't account for padding in DATA frames,
which meant that its view of the world could drift from peer's view
by up to 256 bytes per received padded DATA frame, which could lead
to a deadlock.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
src/http/v2/ngx_http_v2.c