You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2007/11/29 12:50:12 UTC

svn commit: r599393 - in /httpd/httpd/trunk: CHANGES modules/filters/mod_filter.c

Author: niq
Date: Thu Nov 29 03:50:11 2007
New Revision: 599393

URL: http://svn.apache.org/viewvc?rev=599393&view=rev
Log:
Since we don't support chained filters, and can't expect to while the
filter_init problem remains, we should make it clear to users at startup time.

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/filters/mod_filter.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=599393&r1=599392&r2=599393&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Thu Nov 29 03:50:11 2007
@@ -6,7 +6,7 @@
      PR 41123.  [Marc Stern <marc.stern approach.be>, Joe Orton]
 
   *) mod_filter: Don't segfault on (unsupported) chained FilterProvider usage.
-     PR 43956 [Nick Kew]
+     PR 43956 [Nick Kew, Ruediger Pluem]
 
   *) mod_unique_id: Fix timestamp value in UNIQUE_ID.
      PR 37064 [Kobayashi <kobayashi firstserver.co.jp>]

Modified: httpd/httpd/trunk/modules/filters/mod_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_filter.c?rev=599393&r1=599392&r2=599393&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_filter.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_filter.c Thu Nov 29 03:50:11 2007
@@ -538,10 +538,6 @@
     /* if provider has been registered, we can look it up */
     provider_frec = ap_get_output_filter_handle(pname);
     if (!provider_frec) {
-        provider_frec = apr_hash_get(cfg->live_filters, pname,
-                                     APR_HASH_KEY_STRING);
-    }
-    if (!provider_frec) {
         return apr_psprintf(cmd->pool, "Unknown filter provider %s", pname);
     }