mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
stop using the v1 rend desc format. we're going to change v1
some more before we switch to it. svn:r4909
This commit is contained in:
parent
1e37ec4782
commit
c384fa706d
@ -436,8 +436,9 @@ directory_send_command(connection_t *conn, const char *platform,
|
||||
|
||||
httpcommand = "GET";
|
||||
/* Request the most recent versioned descriptor. */
|
||||
tor_snprintf(url, sizeof(url), "/tor/rendezvous1/%s", resource);
|
||||
//tor_snprintf(url, sizeof(url), "/tor/rendezvous/%s", resource);
|
||||
// XXXX011
|
||||
//tor_snprintf(url, sizeof(url), "/tor/rendezvous1/%s", resource);
|
||||
tor_snprintf(url, sizeof(url), "/tor/rendezvous/%s", resource);
|
||||
break;
|
||||
case DIR_PURPOSE_UPLOAD_RENDDESC:
|
||||
tor_assert(!resource);
|
||||
|
@ -1026,7 +1026,7 @@ rend_consider_services_upload(time_t now)
|
||||
* descriptor and ours has been stable for 5 seconds, upload a
|
||||
* new one of each format. */
|
||||
upload_service_descriptor(service, 0);
|
||||
upload_service_descriptor(service, 1);
|
||||
// XXXX011 upload_service_descriptor(service, 1);
|
||||
service->next_upload_time = now + rendpostperiod;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user