Commit ecb4be11 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

If we are in the middle of a brigade loop, we don't want to always check

the first bucket in the brigade.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87986 13f79535-47bb-0310-9956-ffa450edef68
parent 98028473
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2483,7 +2483,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, apr_b
    }

    APR_BRIGADE_FOREACH(e, b) {
        if (APR_BRIGADE_FIRST(b)->type == &ap_bucket_type_error) {
        if (e->type == &ap_bucket_type_error) {
            ap_bucket_error *eb = e->data;

            ap_die(eb->status, r);