Update deps

This commit is contained in:
Frank Denis 2019-05-31 22:49:25 +02:00
parent b22d6dfc96
commit f8415c4a4b
174 changed files with 7720 additions and 5816 deletions

View file

@ -571,15 +571,15 @@ func (srv *Server) serveDNS(m []byte, w *response) {
req.SetRcodeFormatError(req)
// Are we allowed to delete any OPT records here?
req.Ns, req.Answer, req.Extra = nil, nil, nil
req.Zero = false
w.WriteMsg(req)
fallthrough
case MsgIgnore:
if w.udp != nil && cap(m) == srv.UDPSize {
srv.udpPool.Put(m[:srv.UDPSize])
}
return
case MsgIgnore:
return
}