mirror of
https://github.com/miekg/dns.git
synced 2025-08-18 07:26:58 +02:00
more stuff
This commit is contained in:
parent
1ee22eb579
commit
4109a032b9
@ -58,6 +58,7 @@ func (res *Server) NewResponder(h Responder, ch chan bool) os.Error {
|
||||
for {
|
||||
select {
|
||||
case <-ch:
|
||||
ch <- true // last echo
|
||||
c.Close()
|
||||
break foreverudp
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user