Pull request 1761: home: fix panic
Fixes #5573. Squashed commit of the following: commit daa1e65dadd779fe897c034aca4e88a6dba44c4a Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Mar 7 14:28:27 2023 +0300 home: fix panic
This commit is contained in:
parent
057804a459
commit
f23a0d4753
|
@ -285,6 +285,12 @@ var config = &configuration{
|
||||||
TrustedProxies: []string{"127.0.0.0/8", "::1/128"},
|
TrustedProxies: []string{"127.0.0.0/8", "::1/128"},
|
||||||
CacheSize: 4 * 1024 * 1024,
|
CacheSize: 4 * 1024 * 1024,
|
||||||
|
|
||||||
|
EDNSClientSubnet: &dnsforward.EDNSClientSubnet{
|
||||||
|
CustomIP: "",
|
||||||
|
Enabled: false,
|
||||||
|
UseCustom: false,
|
||||||
|
},
|
||||||
|
|
||||||
// set default maximum concurrent queries to 300
|
// set default maximum concurrent queries to 300
|
||||||
// we introduced a default limit due to this:
|
// we introduced a default limit due to this:
|
||||||
// https://github.com/AdguardTeam/AdGuardHome/issues/2015#issuecomment-674041912
|
// https://github.com/AdguardTeam/AdGuardHome/issues/2015#issuecomment-674041912
|
||||||
|
|
Loading…
Reference in New Issue