Pull request 2366: AG-40702-fix-cache-clear
Merge in DNS/adguard-home from AG-40702-fix-cache-clear to master Squashed commit of the following: commit 542a7946a9a92f64a56b1736e7411f83a42b3def Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Wed Mar 12 18:16:35 2025 +0300 all: fix cache clear
This commit is contained in:
@@ -24,6 +24,8 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Clearing the DNS cache on the *DNS settings* page now includes both global cache and custom client cache.
|
||||||
|
|
||||||
- Invalid ICMPv6 Router Advertisement messages ([#7547]).
|
- Invalid ICMPv6 Router Advertisement messages ([#7547]).
|
||||||
|
|
||||||
- Disabled button for autofilled login form.
|
- Disabled button for autofilled login form.
|
||||||
|
|||||||
@@ -153,7 +153,9 @@ func (m *upstreamManager) isConfigChanged(cliConf *customUpstreamConfig) (ok boo
|
|||||||
// upstream configuration.
|
// upstream configuration.
|
||||||
func (m *upstreamManager) clearUpstreamCache() {
|
func (m *upstreamManager) clearUpstreamCache() {
|
||||||
for _, c := range m.uidToCustomConf {
|
for _, c := range m.uidToCustomConf {
|
||||||
c.proxyConf.ClearCache()
|
if c.proxyConf != nil {
|
||||||
|
c.proxyConf.ClearCache()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user