Mercurial > hg > nginx
changeset 895:49d03c183ad2
fix post_action for disconnected client
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 11 Dec 2006 08:31:54 +0000 |
parents | 4f7dca9c37f0 |
children | f247db60fc85 |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Mon Dec 11 08:27:29 2006 +0000 +++ b/src/http/ngx_http_request.c Mon Dec 11 08:31:54 2006 +0000 @@ -2247,6 +2247,8 @@ r->header_only = 1; r->post_action = 1; + r->read_event_handler = ngx_http_block_read; + ngx_http_internal_redirect(r, &clcf->post_action, NULL); return NGX_OK;