diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-12-11 08:31:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-12-11 08:31:54 +0000 |
commit | cf100a7827217dc4211e2a487d36e137bc46e653 (patch) | |
tree | 7a2d59e8d6b25d74fc18b2b4c7abf2a2908b482e | |
parent | c5783663b861f54b2ed32cbdfb6d388b71ef0959 (diff) | |
download | nginx-cf100a7827217dc4211e2a487d36e137bc46e653.tar.gz nginx-cf100a7827217dc4211e2a487d36e137bc46e653.zip |
fix post_action for disconnected client
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |