Commit graph

4 commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
392f713ba1 c-ares: Avoid deprecated functions
Avoid deprecated functions by newer c-ares.  Now aria2 requires c-ares
>= 1.16.0 to get ares_getaddrinfo.
2024-06-30 17:32:02 +09:00
Tatsuhiro Tsujikawa
b1132d6b10 make clang-format using clang-format-3.6 2015-12-27 18:40:08 +09:00
Tatsuhiro Tsujikawa
0e5ae22f73 Fixed memory leak 2012-05-16 23:28:07 +09:00
Tatsuhiro Tsujikawa
92c518a2ba Moved parseAsyncDNSServers() to AsyncNameResolver.cc and refactored.
The parseAsyncDNSServers() now uses net::getBinAddr() internally,
which makes the function simpler. Also added unit test.
2012-05-16 23:05:09 +09:00