From e1b6c18b509f46ec98fa5c6155d33f86d82cb409 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Fri, 10 Aug 2018 16:24:15 +0000 Subject: [PATCH] ap_request_core_filter() can check whether the next filter should yield. Itself won't yield at this point (its f->bb is empty). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837823 13f79535-47bb-0310-9956-ffa450edef68 --- server/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/request.c b/server/request.c index 926148cf738..998924150c1 100644 --- a/server/request.c +++ b/server/request.c @@ -2103,7 +2103,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_request_core_filter(ap_filter_t *f, else { /* if the core has set aside data, back off and try later */ if (!flush_upto) { - if (ap_filter_should_yield(f)) { + if (ap_filter_should_yield(f->next)) { break; } } -- 2.47.3