From 629975eba48656b6861fc9cf9bf89697c3462cb4 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 4 May 2006 11:18:45 +0000 Subject: [PATCH] Stop returning DECLINED from the output filter for proxy requests. Filters can't return that type of status. The way to decline filter handling is to pass through the input data unchanged and hopefully remove the output filter permanently. As long as the proxy flag was set in the fixup hook, we didn't fill in our request config and the filter will be a no-op anyway. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@399665 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_charset_lite.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/filters/mod_charset_lite.c b/modules/filters/mod_charset_lite.c index 666cff3aec..2e8a9e0942 100644 --- a/modules/filters/mod_charset_lite.c +++ b/modules/filters/mod_charset_lite.c @@ -825,9 +825,6 @@ static apr_status_t xlate_out_filter(ap_filter_t *f, apr_bucket_brigade *bb) } } - /* catch proxy requests */ - if (f->r->proxyreq) return DECLINED; - /* Opening the output translation (this used to be done in the fixup hook, * but that was too early: a subsequent type modification, e.g., by a * CGI script, would go unnoticed. Now we do it in the filter itself.) -- 2.40.0