- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetReply (0.08 sec)
-
pilot/pkg/model/network_test.go
} }() wg.Wait() return s } func (s *fakeDNSServer) ServeDNS(w dns.ResponseWriter, r *dns.Msg) { s.mu.Lock() defer s.mu.Unlock() msg := (&dns.Msg{}).SetReply(r) if s.failure { msg.Rcode = dns.RcodeServerFailure } else { domain := msg.Question[0].Name c, ok := s.hosts[domain] if ok { s.hosts[domain]++ switch r.Question[0].Qtype {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 6.9K bytes - Viewed (0)