From ecb4be11a07bc764cb42a94adf3ad88d55b19cc7 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 6 Feb 2001 04:13:45 +0000 Subject: [PATCH] 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 --- modules/http/http_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 5206e67ddc..9cfdb56fae 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -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); -- 2.50.0