summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-16 07:57:37 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-16 07:57:37 -0500
commit3c89622e39d964b731a40c6a705327d5caa07be4 (patch)
treefd7e30579398838eea9a58eb48964c95f7298099 /doc
parent5e70c27e8560ac1885ae9d9e1b79d3838b49cc09 (diff)
parentefb301c86c288c01e21dfb5da9f685f33341b2c2 (diff)
downloadtor-3c89622e39d964b731a40c6a705327d5caa07be4.tar.gz
tor-3c89622e39d964b731a40c6a705327d5caa07be4.zip
Merge branch 'ticket32487_squashed' into ticket32487_squashed_and_merged
Resolved conflicts in src/core/include.am
Diffstat (limited to 'doc')
-rw-r--r--doc/HACKING/Module.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/HACKING/Module.md b/doc/HACKING/Module.md
index 3a07d0c639..781bb978f2 100644
--- a/doc/HACKING/Module.md
+++ b/doc/HACKING/Module.md
@@ -11,12 +11,18 @@ selectively enable or disable, at `configure` time.
Currently, tor has these modules:
- Relay subsystem (relay)
+ - Directory cache system (dircache).
- Directory Authority subsystem (dirauth)
-dirauth is located in its own directory in `src/feature/dirauth/`.
+The dirauth code is located in its own directory in `src/feature/dirauth/`.
-Relay is located in directories named `src/*/*relay` and `src/*/*dircache`,
-which are being progressively refactored and disabled.
+The relay code is located in a directory named `src/*/*relay`, which is
+being progressively refactored and disabled.
+
+The dircache code is located in `src/*/*dircache`. Right now, it is
+disabled if and only if the relay module is disabled. (We are treating
+them as separate modules because they are logically independent, not
+because you would actually want to run one without the other.)
To disable a module, pass `--disable-module-{dirauth,relay}` at configure
time. All modules are currently enabled by default.