|
@@ -433,11 +433,9 @@ directory_send_command(connection_t *conn, const char *platform,
|
|
|
strlcpy(conn->rend_query, resource, sizeof(conn->rend_query));
|
|
|
|
|
|
httpcommand = "GET";
|
|
|
- tor_snprintf(url, sizeof(url), "/tor/rendezvous/%s", resource);
|
|
|
- /* XXXX011 Once directories understand versioned descriptors, switch to this
|
|
|
- * URL in order to get the most recent version */
|
|
|
- // tor_snprintf(url, sizeof(url), "/tor/rendezvous1/%s", resource);
|
|
|
-
|
|
|
+ /* Request the most recent versioned descriptor. */
|
|
|
+ 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);
|