Skip to content

Commit aaaeb7b

Browse files
committed
update event trigger for heave post payload bug fixed
1 parent 0e5349f commit aaaeb7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngx_http_c_func_module.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ ngx_http_c_func_after_process(ngx_event_t *ev) {
972972
r->main->blocked--;
973973
r->aio = 0;
974974

975-
ngx_http_core_run_phases(r);
975+
r->write_event_handler(r);
976976
ngx_http_run_posted_requests(c);
977977
}
978978
#endif
@@ -1301,11 +1301,11 @@ ngx_http_c_func_client_body_handler(ngx_http_request_t *r) {
13011301
#if nginx_version >= 8011
13021302
r->main->count--;
13031303
#endif
1304+
r->write_event_handler = ngx_http_core_run_phases;
13041305
/* waiting_more_body my rewrite phase handler */
13051306
if (ctx->waiting_more_body) {
13061307
ctx->done = 1;
13071308
ctx->waiting_more_body = 0;
1308-
// r->write_event_handler = ngx_http_core_run_phases;
13091309
ngx_http_core_run_phases(r);
13101310
}
13111311
}

0 commit comments

Comments
 (0)