]> granicus.if.org Git - libevent/commit
test/dns: run async resolving after sync one (to avoid timeouts)
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 19 Jan 2017 17:34:41 +0000 (20:34 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Thu, 19 Jan 2017 17:50:22 +0000 (20:50 +0300)
commit07862531152bc3b93590f1a2010080c87474c92b
tree115ddf17fa60f83ec0a1c315320c074c06a76af9
parent36da6877f045258f8db91aeca753a3e2e2f1f5ec
test/dns: run async resolving after sync one (to avoid timeouts)

If system resolver (sync one) will respond too slow, then we can fail async
request and evdns will retransmit tham again, but evdns server will accept that
failed requets, so we will have not 2 requests but 4.

Reproduced on centos box sometimes.
test/regress_dns.c