mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Document why dircache is not included in --list-modules
This commit is contained in:
parent
a623a49777
commit
efb301c86c
@ -290,7 +290,7 @@ AM_COND_IF(BUILD_MODULE_RELAY,
|
|||||||
[Compile with Relay feature support]))
|
[Compile with Relay feature support]))
|
||||||
|
|
||||||
dnl Dircache module. (This cannot be enabled or disabled independently of
|
dnl Dircache module. (This cannot be enabled or disabled independently of
|
||||||
dnl the relay module.)
|
dnl the relay module. It is not listed by --list-modules for this reason.)
|
||||||
AM_CONDITIONAL(BUILD_MODULE_DIRCACHE,
|
AM_CONDITIONAL(BUILD_MODULE_DIRCACHE,
|
||||||
[test "x$enable_module_relay" != "xno"])
|
[test "x$enable_module_relay" != "xno"])
|
||||||
AM_COND_IF(BUILD_MODULE_DIRCACHE,
|
AM_COND_IF(BUILD_MODULE_DIRCACHE,
|
||||||
|
@ -2733,6 +2733,9 @@ list_enabled_modules(void)
|
|||||||
{
|
{
|
||||||
printf("%s: %s\n", "relay", have_module_relay() ? "yes" : "no");
|
printf("%s: %s\n", "relay", have_module_relay() ? "yes" : "no");
|
||||||
printf("%s: %s\n", "dirauth", have_module_dirauth() ? "yes" : "no");
|
printf("%s: %s\n", "dirauth", have_module_dirauth() ? "yes" : "no");
|
||||||
|
// We don't list dircache, because it cannot be enabled or disabled
|
||||||
|
// independently from relay. Listing it here would proliferate
|
||||||
|
// test variants in test_parseconf.sh to no useful purpose.
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Last value actually set by resolve_my_address. */
|
/** Last value actually set by resolve_my_address. */
|
||||||
|
Loading…
Reference in New Issue
Block a user