resolved: when we get a packet failure from a server, don't downgrade UDP to TCP...
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Jan 2016 01:46:59 +0000 (02:46 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jan 2016 18:40:00 +0000 (19:40 +0100)
commit571370c1555d2aa697733479a50957aff024bbcb
tree07ed30f3c1ac6e956448e32f9aa770d757583e13
parent7e1851e3c62147794b4b0104ba776453d8945a39
resolved: when we get a packet failure from a server, don't downgrade UDP to TCP or vice versa

Under the assumption that packet failures (i.e. FORMERR, SERVFAIL, NOTIMP) are caused by packet contents, not used
transport, we shouldn't switch between UDP and TCP when we get them, but only downgrade the higher levels down to UDP.
src/resolve/resolved-dns-server.c