mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
plugin/forward: check TC correctly on reply. (#1670)
* plugin/forward: check TC correctly on reply. Add test for this. * Add proxy test as well
This commit is contained in:
@@ -114,7 +114,7 @@ func (f *Forward) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg
|
||||
child.Finish()
|
||||
}
|
||||
|
||||
ret, err = truncated(ret, err)
|
||||
ret, err = truncated(state, ret, err)
|
||||
upstreamErr = err
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user