]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon: more avoidance of excessive TCP reconnections debian/bookworm
authorVladimír Čunát <vladimir.cunat@nic.cz>
Sat, 29 Jul 2023 15:53:34 +0000 (17:53 +0200)
committerJakub Ružička <jakub.ruzicka@nic.cz>
Fri, 23 Feb 2024 12:04:52 +0000 (13:04 +0100)
commit1089fc3e93493bdb54aad629adf47979bb5f8087
treeb9288176d9cb31e5bd78276b20e689c515bf9a7d
parent0e1a79bb785228b1f014bbb03d5d47ee18924762
daemon: more avoidance of excessive TCP reconnections

Previously this penalization was only triggered if the remote server
closed TCP.  Now it's extended to us closing it when the server
(only) sends back some nonsense.  At least for the cases which I could
see immediately.

That's just three trivial one-line additions; the rest is refactoring.
daemon/io.c
daemon/session.c
daemon/session.h