You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2001/02/06 05:13:47 UTC
cvs commit: httpd-2.0/modules/http http_protocol.c
rbb 01/02/05 20:13:46
Modified: modules/http http_protocol.c
Log:
If we are in the middle of a brigade loop, we don't want to always check
the first bucket in the brigade.
Revision Changes Path
1.290 +1 -1 httpd-2.0/modules/http/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
retrieving revision 1.289
retrieving revision 1.290
diff -u -d -b -w -u -r1.289 -r1.290
--- http_protocol.c 2001/02/01 21:54:18 1.289
+++ http_protocol.c 2001/02/06 04:13:45 1.290
@@ -2483,7 +2483,7 @@
}
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);