]> git.kaiwu.me - nginx.git/commitdiff
fix post_action for disconnected client
authorIgor Sysoev <igor@sysoev.ru>
Mon, 11 Dec 2006 08:31:54 +0000 (08:31 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 11 Dec 2006 08:31:54 +0000 (08:31 +0000)
src/http/ngx_http_request.c

index 8a86f2e5b6ac2bf7517d25a8bb369e8d0fcf601c..2c1ac956648b701dee5a6eeb739e8b4dbfa78e67 100644 (file)
@@ -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;