aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-04-20 02:27:58 -0700
committerSebastian Hahn <sebastian@torproject.org>2011-04-28 18:14:50 +0200
commit440e48ddf27094e48c401c68c9014eca43b6867e (patch)
tree44461748a3895f0fa13f2a955cc94edec896ed89 /src/or/main.c
parent43ffd023e9267927539dc9c12bee86199cd1c800 (diff)
downloadtor-440e48ddf27094e48c401c68c9014eca43b6867e.tar
tor-440e48ddf27094e48c401c68c9014eca43b6867e.tar.gz
Forget all rendezvous client state on SIGNAL NEWNYM
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 96b7b456e..e44fd4946 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -785,6 +785,8 @@ signewnym_impl(time_t now)
{
circuit_expire_all_dirty_circs();
addressmap_clear_transient();
+ rend_cache_purge();
+ rend_client_cancel_descriptor_fetches();
time_of_last_signewnym = now;
signewnym_is_pending = 0;
}