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:
Roger Dingledine 2005-09-06 06:14:38 +00:00
parent 1e37ec4782
commit c384fa706d
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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;
}
}