File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -972,7 +972,7 @@ ngx_http_c_func_after_process(ngx_event_t *ev) {
972
972
r -> main -> blocked -- ;
973
973
r -> aio = 0 ;
974
974
975
- ngx_http_core_run_phases (r );
975
+ r -> write_event_handler (r );
976
976
ngx_http_run_posted_requests (c );
977
977
}
978
978
#endif
@@ -1301,11 +1301,11 @@ ngx_http_c_func_client_body_handler(ngx_http_request_t *r) {
1301
1301
#if nginx_version >= 8011
1302
1302
r -> main -> count -- ;
1303
1303
#endif
1304
+ r -> write_event_handler = ngx_http_core_run_phases ;
1304
1305
/* waiting_more_body my rewrite phase handler */
1305
1306
if (ctx -> waiting_more_body ) {
1306
1307
ctx -> done = 1 ;
1307
1308
ctx -> waiting_more_body = 0 ;
1308
- // r->write_event_handler = ngx_http_core_run_phases;
1309
1309
ngx_http_core_run_phases (r );
1310
1310
}
1311
1311
}
You can’t perform that action at this time.
0 commit comments