mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 10:19:00 +08:00
fix post_action for disconnected client
This commit is contained in:
parent
c5783663b8
commit
cf100a7827
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user