]> granicus.if.org Git - apache/commitdiff
Stop returning DECLINED from the output filter for proxy
authorJeff Trawick <trawick@apache.org>
Thu, 4 May 2006 11:18:45 +0000 (11:18 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 4 May 2006 11:18:45 +0000 (11:18 +0000)
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

index 666cff3aec22da1af58e9e3727e1b9d4c9559f29..2e8a9e094215dd80fef6b7d089ce5971f0815d54 100644 (file)
@@ -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.)