]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
bindings/net: throw lua error ofr net.listen() failures
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 11 Dec 2019 17:07:01 +0000 (18:07 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Fri, 20 Dec 2019 14:13:49 +0000 (15:13 +0100)
commiteadbf9539c7a23b3f181c78e7a02f0f6378d59db
treecb8a5c2ab6142508ccde690cf4b593b7ef4a873f
parent27f06b24a8b1a7610b472f6c55d705e635e2b1a2
bindings/net: throw lua error ofr net.listen() failures

To avoid configuration errors, throw a lua error and crash
if it's not possible to bind as specified in net.listen().

For special use-cases, freebind=true should be used instead.
daemon/bindings/net.c
doc/upgrading.rst