From: Igor Sysoev Date: Mon, 11 Dec 2006 08:31:54 +0000 (+0000) Subject: fix post_action for disconnected client X-Git-Tag: release-0.5.1~2 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=cf100a7827217dc4211e2a487d36e137bc46e653;p=nginx.git fix post_action for disconnected client --- diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 8a86f2e5b..2c1ac9566 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2247,6 +2247,8 @@ ngx_http_post_action(ngx_http_request_t *r) 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;