Disable dns.c when relay mode is disabled.

This saves about 1% for me on a binary compiled without relay mode.

Closes ticket 33366.
This commit is contained in:
Nick Mathewson
2020-02-18 12:32:00 -05:00
parent 1f06f494c8
commit c43a245292
3 changed files with 43 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor features (compilation size):
- Most Server-side DNS code is now disabled when building without
support for relay mode. Closes ticket 33366.