Remove debugging code
This commit is contained in:
parent
313640276f
commit
e4acc12f44
|
@ -195,9 +195,7 @@ func (w *reply) Write(m *Msg) {
|
|||
// Do performs an asynchronous query. The result is returned on the
|
||||
// QueryChan channel set in the Client c.
|
||||
func (c *Client) Do(m *Msg, a string) {
|
||||
println("send")
|
||||
c.QueryChan <- &Request{Client: c, Addr: a, Request: m}
|
||||
println("sent")
|
||||
}
|
||||
|
||||
// ExchangeBuffer performs a synchronous query. It sends the buffer m to the
|
||||
|
|
|
@ -20,7 +20,6 @@ func TestClientSync(t *testing.T) {
|
|||
}
|
||||
|
||||
func helloMiek(w RequestWriter, r *Msg) {
|
||||
println("hello")
|
||||
w.Send(r)
|
||||
reply, _ := w.Receive()
|
||||
w.Write(reply)
|
||||
|
@ -34,7 +33,6 @@ func TestClientASync(t *testing.T) {
|
|||
m.SetQuestion("miek.nl", TypeSOA)
|
||||
|
||||
c := NewClient()
|
||||
println("Do")
|
||||
c.Do(m, "85.223.71.124:53")
|
||||
|
||||
forever:
|
||||
|
|
Loading…
Reference in New Issue