diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-05 08:19:02 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-05 08:19:02 -0500 |
commit | ca4b86f90a73532032a573ebc903155a32d0f36b (patch) | |
tree | 54d10b6031452388d2540a6db93bbbc83c164ca8 /src/app/main/main.c | |
parent | c01507a5fe73d0e49902a8abaa1f73112ae1fefa (diff) | |
parent | eaff47352a1ef607f6d97e9b35bd6d5eefdfcb26 (diff) | |
download | tor-ca4b86f90a73532032a573ebc903155a32d0f36b.tar.gz tor-ca4b86f90a73532032a573ebc903155a32d0f36b.zip |
Merge remote-tracking branch 'tor-github/pr/508'
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r-- | src/app/main/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c index 03b3a95d03..3f4e1d06a7 100644 --- a/src/app/main/main.c +++ b/src/app/main/main.c @@ -67,10 +67,11 @@ #include "feature/stats/predict_ports.h" #include "feature/stats/rephist.h" #include "lib/compress/compress.h" -#include "lib/container/buffers.h" +#include "lib/buf/buffers.h" #include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_s2k.h" #include "lib/geoip/geoip.h" +#include "lib/net/resolve.h" #include "lib/process/waitpid.h" @@ -1417,6 +1418,7 @@ tor_run_main(const tor_main_configuration_t *tor_cfg) tor_free_all(0); return -1; } + tor_make_getaddrinfo_cache_active(); // registering libevent rng #ifdef HAVE_EVUTIL_SECURE_RNG_SET_URANDOM_DEVICE_FILE |