'section' : 'webservice',
'type' : LType.ListIncomingWSConfigs,
'default' : '',
- 'help' : 'XXXX',
+ 'help' : 'IP addresses and associated attributes for the webserver to listen on',
'doc' : '''
IP addresses and associated attributes for the webserver to listen on.
-If this setting has a non-default value, :ref:`setting-yaml-webservice.address` and :ref:`setting-yaml-webservice.port` will be ignored.
+If this setting has a non-default value, :ref:`setting-yaml-webservice.address` and :ref:`setting-yaml-webservice.port` will be ignored. Note multiple listen addresses can be configured and https is supported as well, in contrast to earlier (pre 5.3.0) versions.
''',
'skip-old': 'No equivalent old-style setting',
'versionadded': '5.3.0',
#include "zoneparser-tng.hh"
#include "rec-rust-lib/cxxsettings.hh"
#include "rec-system-resolve.hh"
-
-// XXX consider including rec-main.hh?
-extern int g_argc;
-extern char** g_argv;
-extern string g_yamlSettingsSuffix;
+#include "rec-main.hh"
bool primeHints(time_t now)
{
oldAndNewDomains.insert(entry.first);
}
- extern LockGuarded<std::shared_ptr<SyncRes::domainmap_t>> g_initialDomainMap; // XXX
{
auto lock = g_initialDomainMap.lock();
if (*lock) {
wipeCaches(entry, true, 0xffff);
}
*g_initialDomainMap.lock() = std::move(newDomainMap);
- extern LockGuarded<std::shared_ptr<notifyset_t>> g_initialAllowNotifyFor; // XXX
*g_initialAllowNotifyFor.lock() = std::move(newNotifySet);
return "ok\n";
}