looks like we were never delivering deflated running-routers lists

svn:r4536
This commit is contained in:
Roger Dingledine 2005-07-12 22:56:22 +00:00
parent 7c7c95c3f6
commit ddecb1a04d

View File

@ -986,7 +986,7 @@ directory_handle_command_get(connection_t *conn, char *headers,
if (!strcmp(url,"/tor/running-routers") || if (!strcmp(url,"/tor/running-routers") ||
!strcmp(url,"/tor/running-routers.z")) { /* running-routers fetch */ !strcmp(url,"/tor/running-routers.z")) { /* running-routers fetch */
int deflated = !strcmp(url,"/tor/dir.z"); int deflated = !strcmp(url,"/tor/running-routers.z");
tor_free(url); tor_free(url);
dlen = dirserv_get_runningrouters(&cp, deflated); dlen = dirserv_get_runningrouters(&cp, deflated);
if (!dlen) { /* we failed to create/cache cp */ if (!dlen) { /* we failed to create/cache cp */