Branch: Tag:

2018-04-05

2018-04-05 09:30:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Roxen: Fix cache init in lookup_real_path_case_insens().

lookup_real_path_case_insens() performs extra cache invalidation;
when this is done, cache_lookup() has succeeded, and thus NOT
initialized the timers needed by cache_set(). Fix this by switching
the cache to extend entries mode.

Fixes [WS-243].

219:    // after cache hit.    ) {}    + CacheManagerPrefs extend_entries_cache_prefs = CacheManagerPrefs(1); +    class CacheManager   //! A cache manager handles one or more caches, applying the same   //! eviction policy and the same size limit on all of them. I.e. it's