aclCacheMatchFlush(&auth_user->proxy_match_cache);
}
+ //new-style moved to UserNameCache::syncConfig()
+
debugs(29, 3, HERE << "Finished.");
}
*/
#include "squid.h"
+#include "auth/UserNameCache.h"
+#include "acl/Gadgets.h" //for aclCacheMatchFlush
#include "Debug.h"
#include "event.h"
#include "SquidConfig.h"
#include "SquidTime.h"
-#include "auth/UserNameCache.h"
namespace Auth {
reset();
}
+void
+UserNameCache::syncConfig()
+{
+ for (auto i : store_) {
+ aclCacheMatchFlush(&i.second->proxy_match_cache); //flush
+ }
+}
+
} /* namespace Auth */