send again even if in queue
This commit is contained in:
parent
bcdc1e9671
commit
24eadfbb5f
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ class DNSResolver(object):
|
||||||
self._cb_to_hostname[callback] = hostname
|
self._cb_to_hostname[callback] = hostname
|
||||||
else:
|
else:
|
||||||
arr.append(callback)
|
arr.append(callback)
|
||||||
|
# TODO send again only if waited too long
|
||||||
|
self._send_req(hostname, QTYPE_A)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self._sock.close()
|
self._sock.close()
|
||||||
|
|
Loading…
Reference in a new issue