mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-27 03:50:08 +00:00
Outbounds: Avoid circular dependencies with the built-in DNS (#7425)
https://github.com/XTLS/Xray-core/pull/7425#issuecomment-6900056768 https://github.com/XTLS/Xray-core/pull/7425#issuecomment-6953371666 https://github.com/XTLS/Xray-core/pull/7425#issuecomment-7023506796
This commit is contained in:
@@ -44,9 +44,8 @@ func (c routingContext) GetRuleTag() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// GetSkipDNSResolve is a mock implementation here to match the interface,
|
||||
// SkipDNSResolve is set from dns module, no use if coming from a protobuf object?
|
||||
// TODO: please confirm @Vigilans
|
||||
// GetSkipDNSResolve implements routing.Context.
|
||||
// The protobuf RoutingContext has no skip flag, so API contexts use false.
|
||||
func (c routingContext) GetSkipDNSResolve() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user