From b202fc0556a7503c6de76f480555b59d3f224bd3 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Mon, 4 Mar 2002 05:29:04 +0000 Subject: [PATCH] If we insert a protocol filter before we insert a request filter, we must set the r->output_filter to r->proto_output_filter. If we don't, then as soon as we insert the request filter, the protocol filter will be removed. This was causing headers to not be sent on some requests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93692 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_filter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/util_filter.c b/server/util_filter.c index 47275d61530..c1488e64d51 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -372,6 +372,9 @@ static ap_filter_t *add_any_filter_handle(ap_filter_rec_t *frec, void *ctx, } } + if (frec->ftype < AP_FTYPE_CONNECTION && (*r_filters == *c_filters)) { + *r_filters = *p_filters; + } return f; } -- 2.47.3