]> git.kaiwu.me - nginx.git/commit
SPDY: better detect if headers block has wrong entries count.
authorValentin Bartenev <vbart@nginx.com>
Wed, 26 Mar 2014 14:01:11 +0000 (18:01 +0400)
committerValentin Bartenev <vbart@nginx.com>
Wed, 26 Mar 2014 14:01:11 +0000 (18:01 +0400)
commitde3c7a825ee446fe4e0dc84df3d57bfebdf8c6f6
tree36537046b59992bc80135ed83d1fd3ba27896ada
parent042122a066c62cfe0748697d0f16b35fa96409c2
SPDY: better detect if headers block has wrong entries count.

Previously, only one case was checked: if there's more data to parse
in a r->header_in buffer, but the buffer can be filled to the end by
the last parsed entry, so we also need to check that there's no more
data to inflate.
src/http/ngx_http_spdy.c