aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
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;