mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
looks like we were never delivering deflated running-routers lists
svn:r4536
This commit is contained in:
parent
7c7c95c3f6
commit
ddecb1a04d
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user