From 4c297f74f79e0e3d357d20bfc584eccc758d1fd8 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 31 Aug 2009 16:14:41 -0400 Subject: Only send reachability status events on overall success/failure We were telling the controller about CHECKING_REACHABILITY and REACHABILITY_FAILED status events whenever we launch a testing circuit or notice that one has failed. Instead, only tell the controller when we want to inform the user of overall success or overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported by SwissTorExit. --- src/or/directory.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/or/directory.c') diff --git a/src/or/directory.c b/src/or/directory.c index 4ab2633022..7fc2fb1bdc 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -554,11 +554,6 @@ void connection_dir_request_failed(dir_connection_t *conn) { if (directory_conn_is_self_reachability_test(conn)) { - routerinfo_t *me = router_get_my_routerinfo(); - if (me) - control_event_server_status(LOG_WARN, - "REACHABILITY_FAILED DIRADDRESS=%s:%d", - me->address, me->dir_port); return; /* this was a test fetch. don't retry. */ } if (entry_list_can_grow(get_options())) -- cgit v1.2.3-54-g00ecf