]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
iterate: rework error handling from iterate.c
authorŠtěpán Balážik <stepan.balazik@nic.cz>
Thu, 14 Jan 2021 14:39:31 +0000 (15:39 +0100)
committerŠtěpán Balážik <stepan.balazik@nic.cz>
Mon, 25 Jan 2021 14:42:55 +0000 (15:42 +0100)
commit21c1ec3034d27a36b2bf48ad5dfe92b82ef48179
tree89feebefef0ceb7e6c46e27ecfffbd08ea66e175
parente6324fce8b6b94755704153065f40e2aff8c719e
iterate: rework error handling from iterate.c

Previously there where resolve_badmsg and resolve_error functions used
to apply workarounds. This is now moved to selection.c and iterate.c
just provides feedback using the server selection API. Errors are now
handled centrally in selection.c:error.
daemon/lua/kres-gen.lua
lib/layer/iterate.c
lib/resolve.c
lib/rplan.h
lib/selection.c
lib/selection.h
lib/selection_iter.c
tests/integration/deckard