summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-19 22:02:02 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-19 22:02:02 +0000
commit6a52867846bcd0b2f9606037eeed2a5e0cd472b9 (patch)
treee518442d897131bc835b1e61fcfc5cb30c0be152 /src/or/rendclient.c
parentc4f389420ca7b9afe502af50a7dcfc342f5a4f29 (diff)
downloadtor-6a52867846bcd0b2f9606037eeed2a5e0cd472b9.tar.gz
tor-6a52867846bcd0b2f9606037eeed2a5e0cd472b9.zip
New config options to address bug 251:
FetchServerDescriptors and FetchHidServDescriptors for whether to fetch server info and hidserv info or let the controller do it, and also PublishServerDescriptor and PublishHidServDescriptors. Add AllDirActionsPrivate undocumented option -- if you set it, you'll need the controller to bootstrap you enough to build your first circuits. svn:r6047
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 82be7f0d84..37d462d981 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -252,6 +252,8 @@ rend_client_introduction_acked(circuit_t *circ,
void
rend_client_refetch_renddesc(const char *query)
{
+ if (!get_options()->FetchHidServDescriptors)
+ return;
if (connection_get_by_type_state_rendquery(CONN_TYPE_DIR, 0, query)) {
log_info(LD_REND,"Would fetch a new renddesc here (for %s), but one is "
"already in progress.", safe_str(query));