]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
map: rework result handling
authorPetr Špaček <petr.spacek@nic.cz>
Wed, 14 Oct 2020 09:08:43 +0000 (11:08 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 26 Oct 2020 13:25:14 +0000 (14:25 +0100)
commitcdeaddc910b241772444cb8bf318d6aebd8a9c4c
tree19b4bf4aff6f4ece99d62307f18d8f90b69e9477
parentbe3ff8e944f16870dbd13c5d2872381b40317039
map: rework result handling

map() command on leader instance now:
- detects call errors on followers
- detects unsupported number of return values
- detects unsupported data types which cannot be serialized
- keeps nil return values (signaled by table counter "n")

Fixes: #662
daemon/lua/sandbox.lua.in