mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user