[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: svn commit: r1837823 - /httpd/httpd/trunk/server/request.c


+1...

> On Aug 10, 2018, at 12:24 PM, ylavic@xxxxxxxxxx wrote:
> 
> Author: ylavic
> Date: Fri Aug 10 16:24:15 2018
> New Revision: 1837823
> 
> URL: http://svn.apache.org/viewvc?rev=1837823&view=rev
> Log:
> ap_request_core_filter() can check whether the next filter should yield.
> 
> Itself won't yield at this point (its f->bb is empty).
> 
> Modified:
>    httpd/httpd/trunk/server/request.c
> 
> Modified: httpd/httpd/trunk/server/request.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/request.c?rev=1837823&r1=1837822&r2=1837823&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/server/request.c (original)
> +++ httpd/httpd/trunk/server/request.c Fri Aug 10 16:24:15 2018
> @@ -2103,7 +2103,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_
>         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;
>                 }
>             }
> 
>