Implement deprecation notice for 1.1.4 (#1833)
* Implement deprecation notice for 1.1.4 This still allows all the config to be parsed, but noops it: * -log; always set the log to stdout; no matter what. * https_google; removed from the proxy implementation. * reverse plugin: set to deprecated. * Whole of reverse can go * Remove test for deprecated plugin
This commit is contained in:
parent
b0fd575c65
commit
2758a756dd
20 changed files with 9 additions and 1306 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue