We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698bc46 commit 02af0ebCopy full SHA for 02af0eb
src/ngx_link_func_module.c
@@ -963,7 +963,9 @@ ngx_http_link_func_after_process(ngx_event_t *ev) {
963
r->main->blocked--;
964
r->aio = 0;
965
966
- r->write_event_handler(r);
+ // Force to run core run phase to avoid write handler is empty handler
967
+ // r->write_event_handler(r);
968
+ ngx_http_core_run_phases(r);
969
ngx_http_run_posted_requests(c);
970
}
971
#endif
@@ -1681,7 +1683,7 @@ ngx_http_link_func_output_filter(
1681
1683
1682
1684
if (internal_ctx->rc == NGX_HTTP_NOT_FOUND) {
1685
/** might not handle content phase, request routed to the next handler **/
- return NGX_HTTP_NOT_FOUND;
1686
+ return NGX_DECLINED;
1687
1688
1689
resp_status_line = &internal_ctx->status_line;
0 commit comments