]> git.kaiwu.me - nginx.git/commit
Core: protection from subrequest loops.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 13 Feb 2012 15:33:08 +0000 (15:33 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 13 Feb 2012 15:33:08 +0000 (15:33 +0000)
commit1b0ad6ee72179fef479bfae7c8c4bfd5ac834c29
tree41be3508441cf82c71a4a928c025def21786504f
parent947fc03ca30e355fd562404f7e0b3ff0ec232c66
Core: protection from subrequest loops.

Without the protection, subrequest loop results in r->count overflow and
SIGSEGV.  Protection was broken in 0.7.25.

Note that this also limits number of parallel subrequests.  This
wasn't exactly the case before 0.7.25 as local subrequests were
completed directly.

See here for details:
http://nginx.org/pipermail/nginx-ru/2010-February/032184.html
src/http/ngx_http_core_module.c
src/http/ngx_http_request.c