mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
add_defaults() is supposed to merge 3 tables, the defaults in luaunbound, the defaults from prosody and any config from the prosody config file. In the case where no `unbound={}` has been in the config, it skips over the merge and returns only the prosody built-in defaults. This results in libunbound skipping reading resolv.conf and uses its default behavior of full recursive resolution. Prior to #1737 there were only two tables, the luaunbound defaults and the prosody config, where bypassing the merge and returning the former did the right thing. |
||
---|---|---|
.. | ||
http | ||
resolvers | ||
websocket | ||
adns.lua | ||
connect.lua | ||
cqueues.lua | ||
dns.lua | ||
http.lua | ||
httpserver.lua | ||
server.lua | ||
server_epoll.lua | ||
server_event.lua | ||
server_select.lua | ||
stun.lua | ||
unbound.lua | ||
websocket.lua |