diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-10-28 07:47:47 +0100 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-12-17 09:15:06 +0100 |
commit | d38268a8c7328a9f95beb76442f159bf27211271 (patch) | |
tree | aed61cda6451c2504d05709b7cbe60bba41d5a84 /src/or/config.c | |
parent | 62c2a5a8838ac8eb97ab967e10e7a1e99d761d94 (diff) | |
download | tor-d38268a8c7328a9f95beb76442f159bf27211271.tar tor-d38268a8c7328a9f95beb76442f159bf27211271.tar.gz |
Remove v0 hidden service statistics code.
The HSAuthorityRecordStats option was used to track statistics of overall
hidden service usage on the version 0 hidden service authorities. With the
version 2 hidden service directories being deployed and version 0
descriptors being phased out, these statistics are not as useful anymore.
Goodbye, you fine piece of software; my first major code contribution to
Tor.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/config.c b/src/or/config.c index 0f63cf8b8..8a207230d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -243,7 +243,7 @@ static config_var_t _option_vars[] = { VAR("HiddenServiceAuthorizeClient",LINELIST_S,RendConfigLines, NULL), V(HidServAuth, LINELIST, NULL), V(HSAuthoritativeDir, BOOL, "0"), - V(HSAuthorityRecordStats, BOOL, "0"), + OBSOLETE("HSAuthorityRecordStats"), V(HttpProxy, STRING, NULL), V(HttpProxyAuthenticator, STRING, NULL), V(HttpsProxy, STRING, NULL), @@ -3253,10 +3253,6 @@ options_validate(or_options_t *old_options, or_options_t *options, if (options->AuthoritativeDir && options->ClientOnly) REJECT("Running as authoritative directory, but ClientOnly also set."); - if (options->HSAuthorityRecordStats && !options->HSAuthoritativeDir) - REJECT("HSAuthorityRecordStats is set but we're not running as " - "a hidden service authority."); - if (options->FetchDirInfoExtraEarly && !options->FetchDirInfoEarly) REJECT("FetchDirInfoExtraEarly requires that you also set " "FetchDirInfoEarly"); |