resolve: reuse timer event source for DnsQuery
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 5 Feb 2022 13:31:06 +0000 (22:31 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Feb 2022 08:39:03 +0000 (17:39 +0900)
commitecdfb9a1ae0a09d22a976e2ca0dc99aacc6b9d1f
tree6489a519575012e0789a3fc64b98f3b3821f11dd
parentc704288c473fa08820566fdb16c38726d24db026
resolve: reuse timer event source for DnsQuery

If the query get CNAME or DNAME, then the query will be restarted.
Even in that case, previously, the event source was freed and allocated
again. Let's slightly optimize it.
src/resolve/resolved-dns-query.c