]> git.kaiwu.me - nginx.git/commit
HTTP/2: backed out 16905ecbb49e (ticket #822).
authorValentin Bartenev <vbart@nginx.com>
Thu, 5 Nov 2015 12:01:01 +0000 (15:01 +0300)
committerValentin Bartenev <vbart@nginx.com>
Thu, 5 Nov 2015 12:01:01 +0000 (15:01 +0300)
commitb22c0e0846be6ee21a93a4e7dc6a3cfad25b1758
treee8f1a6fae8cbc047b6a42d159d557a4eea79935b
parentf9cce38e497577449f1a29017d177ca753491885
HTTP/2: backed out 16905ecbb49e (ticket #822).

It caused inconsistency between setting "in_closed" flag and the moment when
the last DATA frame was actually read.  As a result, the body buffer might not
be initialized properly in ngx_http_v2_init_request_body(), which led to a
segmentation fault in ngx_http_v2_state_read_data().  Also it might cause
start processing of incomplete body.

This issue could be triggered when the processing of a request was delayed,
e.g. in the limit_req or auth_request modules.
src/http/v2/ngx_http_v2.c