aboutsummaryrefslogtreecommitdiff
path: root/plugin/proxy/proxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/proxy/proxy.go')
-rw-r--r--plugin/proxy/proxy.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugin/proxy/proxy.go b/plugin/proxy/proxy.go
index 5aeaa2a54..2a8e35096 100644
--- a/plugin/proxy/proxy.go
+++ b/plugin/proxy/proxy.go
@@ -129,14 +129,6 @@ func (p Proxy) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (
}
}
- // If protocol is https_google we do the health checks wrong, i.e. we're healthchecking the wrong
- // endpoint, hence the health check code below should not be executed. See issue #1202.
- // This is an ugly hack and the thing requires a rethink. Possibly in conjunction with moving
- // to the *forward* plugin.
- if upstream.Exchanger().Protocol() == "https_google" {
- continue
- }
-
timeout := host.FailTimeout
if timeout == 0 {
timeout = defaultFailTimeout