| commit | cf100a7827217dc4211e2a487d36e137bc46e653 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Mon Dec 11 08:31:54 2006 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Mon Dec 11 08:31:54 2006 +0000 |
| tree | 7a2d59e8d6b25d74fc18b2b4c7abf2a2908b482e | |
| parent | c5783663b861f54b2ed32cbdfb6d388b71ef0959 [diff] |
fix post_action for disconnected client
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 8a86f2e..2c1ac95 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c
@@ -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;