]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: when we get a TCP connection failure, try again
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Jan 2016 01:33:54 +0000 (02:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jan 2016 18:39:59 +0000 (19:39 +0100)
commita1a3f73a57da25dbd158ea71607b7d740b101f49
treebf1939c4928ca1d1af3e6b6449826de7f60131a8
parent6a1a5eec43892dee3ff6e208bceb1931c25c782e
resolved: when we get a TCP connection failure, try again

Previously, when we couldn't connect to a DNS server via TCP we'd abort the whole transaction using a
"connection-failure" state. This change removes that, and counts failed connections as "lost packet" events, so that
we switch back to the UDP protocol again.
src/basic/fd-util.h
src/resolve/resolved-bus.c
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-transaction.h