We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5349f commit aaaeb7bCopy full SHA for aaaeb7b
src/ngx_http_c_func_module.c
@@ -972,7 +972,7 @@ ngx_http_c_func_after_process(ngx_event_t *ev) {
972
r->main->blocked--;
973
r->aio = 0;
974
975
- ngx_http_core_run_phases(r);
+ r->write_event_handler(r);
976
ngx_http_run_posted_requests(c);
977
}
978
#endif
@@ -1301,11 +1301,11 @@ ngx_http_c_func_client_body_handler(ngx_http_request_t *r) {
1301
#if nginx_version >= 8011
1302
r->main->count--;
1303
1304
+ r->write_event_handler = ngx_http_core_run_phases;
1305
/* waiting_more_body my rewrite phase handler */
1306
if (ctx->waiting_more_body) {
1307
ctx->done = 1;
1308
ctx->waiting_more_body = 0;
- // r->write_event_handler = ngx_http_core_run_phases;
1309
ngx_http_core_run_phases(r);
1310
1311
0 commit comments