]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-transaction.c
resolved: handle mDNS timeouts per transaction
authorDaniel Mack <daniel@zonque.org>
Fri, 28 Aug 2015 14:48:37 +0000 (16:48 +0200)
committerDaniel Mack <daniel@zonque.org>
Tue, 8 Dec 2015 15:51:40 +0000 (16:51 +0100)
commit11a27c2ec1f3bdb1df828883365903ce47576c51
tree3b8a12c7de865e1991a92af6d32a54b1c51c7b7e
parentef7ce6df4d5084bb0cba78e71a2bb932b59045e8
resolved: handle mDNS timeouts per transaction

mDNS packet timeouts need to be handled per transaction, not per link.
Re-use the n_attempts field for this purpose, as packets timeouts should be
determined by starting at 1 second, and doubling the value on each try.
src/resolve/resolved-dns-transaction.c