mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 22:57:08 +00:00
b248654aab
This commit adds proper support for multiple instances of the python module: When more than one instance is added to the module list, the first instance loads the first script specified in the `python:` configuration section. The second instance loads the second script, and so on. When there are more module instances in the module list than there are scripts in the `python:` section, an error is raised during initialization and unbound won't start. When more scripts than module instances are provided, the surplus scripts are ignored. |
||
---|---|---|
.. | ||
doc | ||
examples | ||
interface.i | ||
LICENSE | ||
Makefile | ||
pythonmod_utils.c | ||
pythonmod_utils.h | ||
pythonmod.c | ||
pythonmod.h | ||
test-calc.conf | ||
test-dict.conf | ||
test-edns.conf | ||
test-inplace_callbacks.conf | ||
test-log.conf | ||
test-resgen.conf | ||
test-resip.conf | ||
test-resmod.conf | ||
ubmodule-msg.py | ||
ubmodule-tst.py |