From c384fa706daf8e2a440289b4c9b290ea674efc9b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 6 Sep 2005 06:14:38 +0000 Subject: [PATCH] stop using the v1 rend desc format. we're going to change v1 some more before we switch to it. svn:r4909 --- src/or/directory.c | 5 +++-- src/or/rendservice.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/or/directory.c b/src/or/directory.c index e1bb961231..be5f33c1fe 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -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); diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 3bb86c2c09..c2e7e21807 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -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; } }