BUG/MEDIUM: cache: don't try to resolve wrong filters
Don't try to resolve wrong filters which are not cache filters during
the post configuration callback.
diff --git a/src/cache.c b/src/cache.c
index 2d7cdcd..15e2210 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -785,6 +785,9 @@
/* resolve the cache name to a ptr in the filter config */
list_for_each_entry(fconf, &curproxy->filter_configs, list) {
+ if (fconf->id != cache_store_flt_id)
+ continue;
+
cache_ptr = fconf->conf;
list_for_each_entry(cache, &caches, list) {