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
+++ b/src/http/ngx_http_request.c
@@ -2247,6 +2247,8 @@ ngx_http_post_action(ngx_http_request_t 
     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;