diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-05 05:03:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-05 05:03:52 +0000 |
commit | 370e4abdc976cfd57c09f8e77549cb181371b4fe (patch) | |
tree | 7354ae3b9d6dbb251aebeae1963a866dff7784d0 /src/or/or.h | |
parent | adf04f121e17b4eef14a2e66b8bc960cb66fa828 (diff) | |
download | tor-370e4abdc976cfd57c09f8e77549cb181371b4fe.tar.gz tor-370e4abdc976cfd57c09f8e77549cb181371b4fe.zip |
replace former relaunches of directory downloads with reset of failure count and relaunch of status downloads. Fix memory leak in trusted_dir_server_t. Reset "last download attempted" time when resetting failure counts.
svn:r5195
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index d897d2be5e..5802c560eb 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2146,8 +2146,7 @@ void add_trusted_dir_server(const char *nickname, void clear_trusted_dir_servers(void); networkstatus_t *networkstatus_get_by_digest(const char *digest); local_routerstatus_t *router_get_combined_status_by_digest(const char *digest); -void update_networkstatus_cache_downloads(time_t now); -void update_networkstatus_client_downloads(time_t now); +void update_networkstatus_downloads(time_t now); void update_router_descriptor_downloads(time_t now); void routers_update_all_from_networkstatus(void); void routers_update_status_from_networkstatus(smartlist_t *routers, @@ -2156,6 +2155,7 @@ smartlist_t *router_list_superseded(void); int router_have_minimum_dir_info(void); void networkstatus_list_update_recent(time_t now); void router_reset_descriptor_download_failures(void); +void router_reset_status_download_failures(void); /********************************* routerparse.c ************************/ |