]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
cache: fix large answers from packet cache
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 9 Apr 2020 09:44:35 +0000 (11:44 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 14 Apr 2020 08:16:02 +0000 (10:16 +0200)
commit2c702ca13c50008bf0666f469b3d74827cfc4a31
treefabce0f9dcb9e6ae0c047dee9317946b9692cb3b
parenta9ff9b8a13430bd05848b8e7e45b5ed5d8c103a7
cache: fix large answers from packet cache

Atomic packets larger than both 4k and net.bufsize() could not
be fetched from cache; now that's fixed in a minimalistic way.
(Minimalistic except for nitpicks like adding comments.)
NEWS
daemon/worker.c
lib/cache/entry_pkt.c
lib/layer/iterate.c
lib/resolve.h