mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
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.c | ||
| pythonmod.h | ||
| pythonmod_utils.c | ||
| pythonmod_utils.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 | ||