]> git.kaiwu.me - nginx.git/commit
HTTP/2: fixed handling of output HEADERS frames.
authorValentin Bartenev <vbart@nginx.com>
Fri, 13 Nov 2015 17:10:50 +0000 (20:10 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 13 Nov 2015 17:10:50 +0000 (20:10 +0300)
commit548e31f6084e2a90d0befcb5c8ff549466a111d3
tree8efa1734d89bda115bf7f71306285628255f8c45
parent8323cd693b493be7372d4bbb0aed4dcb768b87b8
HTTP/2: fixed handling of output HEADERS frames.

The HEADERS frame is always represented by more than one buffer since
b930e598a199, but the handling code hasn't been adjusted.

Only the first buffer of HEADERS frame was checked and if it had been
sent while others had not, the rest of the frame was dropped, resulting
in broken connection.

Before b930e598a199, the problem could only be seen in case of HEADERS
frame with CONTINUATION.
src/http/v2/ngx_http_v2_filter_module.c