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.
This commit is contained in:
parent
b620e987d0
commit
9c54c53f2f
@ -785,6 +785,9 @@ int cfg_cache_postparser()
|
||||
/* 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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user