mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 10:07:22 +00:00
go1.16 (#14783)
This commit is contained in:
4
vendor/github.com/miekg/dns/serve_mux.go
generated
vendored
4
vendor/github.com/miekg/dns/serve_mux.go
generated
vendored
@ -91,7 +91,7 @@ func (mux *ServeMux) HandleRemove(pattern string) {
|
||||
// are redirected to the parent zone (if that is also registered),
|
||||
// otherwise the child gets the query.
|
||||
//
|
||||
// If no handler is found, or there is no question, a standard SERVFAIL
|
||||
// If no handler is found, or there is no question, a standard REFUSED
|
||||
// message is returned
|
||||
func (mux *ServeMux) ServeDNS(w ResponseWriter, req *Msg) {
|
||||
var h Handler
|
||||
@ -102,7 +102,7 @@ func (mux *ServeMux) ServeDNS(w ResponseWriter, req *Msg) {
|
||||
if h != nil {
|
||||
h.ServeDNS(w, req)
|
||||
} else {
|
||||
HandleFailed(w, req)
|
||||
handleRefused(w, req)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user