summaryrefslogtreecommitdiff
path: root/src/AsyncNameResolverMan.cc
Commit message (Collapse)AuthorAgeFilesLines
* clang-format-5.0Tatsuhiro Tsujikawa2017-11-231-1/+1
|
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-47/+40
|
* Fixed some typos in code commentsDan Fandrich2015-01-161-5/+5
|
* Use std::unique_ptr for AsyncResolverManTatsuhiro Tsujikawa2013-07-031-8/+7
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-0/+3
|
* Don't wait for AAAA query response if A query response has been receivedTatsuhiro Tsujikawa2013-04-141-1/+10
| | | | | | | | If we got IPv4 lookup response, we don't wait for IPv6 lookup response. This is because DNS server may drop AAAA query and we have to wait for the long time before timeout. We don't do the inverse, because, based on todays deployment of DNS server, almost all of them can respond A query just fine.
* Check configured addresses again if previous check found none of themTatsuhiro Tsujikawa2013-04-131-0/+9
| | | | | | | | Currently, aria2 checks configured addresses at the startup. But there are chances that interfaces are not setup at that moment. For example, if aria2 is used as daemon, it may start before network interfaces up. To workaround this, we check addresses again if both addresses are not configured at the startup.
* Use AsyncNameResolverMan in DHTEntryPointNameResolveCommandTatsuhiro Tsujikawa2013-04-011-1/+25
|
* Check non-loopback (and non-linklocak for IPv6) address is configuredTatsuhiro Tsujikawa2013-03-311-6/+16
| | | | | | Issue A record query only when non-loopback IPv4 address is configured. Likewise, issue AAA record query only when non-loopback and non-linklocak IPv6 address is configured.
* Parallel A and AAAA record lookups with c-aresTatsuhiro Tsujikawa2013-03-311-0/+180