]> git.kaiwu.me - nginx.git/commit
Merge of r4621, r4641: filter_finalize fixes.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 4 Jun 2012 11:15:46 +0000 (11:15 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 4 Jun 2012 11:15:46 +0000 (11:15 +0000)
commit228d4927f041ad3e060ae79bbcacfc83d01e8edd
treecee67c2736a5325b2ccd73951e59ba41ab3ea41a
parent9732c655154b182497fb47fa47fbba69ffd25897
Merge of r4621, r4641: filter_finalize fixes.

*) Fixed possible request hang with filter finalization.

   With r->filter_finalize set the ngx_http_finalize_connection() wasn't
   called from ngx_http_finalize_request() called with NGX_OK, resulting in
   r->main->count not being decremented, thus causing request hang in some
   rare situations.

   Patch by Yichun Zhang (agentzh).

*) Fixed segfault with filter_finalize introduced in r4621 (1.3.0).

See the following thread for more details:
http://mailman.nginx.org/pipermail/nginx-devel/2012-May/002190.html
src/http/ngx_http_request.c