Fix: resolver dial context udp

This commit is contained in:
yaling888
2021-11-11 00:53:42 +08:00
parent 038cc1f6b5
commit d0c23998d2
5 changed files with 79 additions and 10 deletions

View File

@ -379,6 +379,7 @@ func NewMainResolver(old *Resolver) *Resolver {
main: old.main,
lruCache: old.lruCache,
hosts: old.hosts,
policy: old.policy,
}
return r
}