aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-06-02 03:07:09 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-06-02 03:07:09 -0700
commitfc4158dad706a76acbfd3adae8b505495f1004e5 (patch)
tree94f7da912b9af1f8a99689d198b4b59ccc04834c /src/or/rendcommon.c
parentd7af8a2f076a38d8be32798d34049ce150c8dda0 (diff)
downloadtor-fc4158dad706a76acbfd3adae8b505495f1004e5.tar
tor-fc4158dad706a76acbfd3adae8b505495f1004e5.tar.gz
Add info-level log messages during HS-client-state purge
I hope these will never be useful, but having them and not needing them is better than needing them and not having them.
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 4d4a90f61..683e11ad2 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -839,8 +839,10 @@ rend_cache_clean(void)
void
rend_cache_purge(void)
{
- if (rend_cache)
+ if (rend_cache) {
+ log_info(LD_REND, "Purging client/v0-HS-authority HS descriptor cache");
strmap_free(rend_cache, _rend_cache_entry_free);
+ }
rend_cache = strmap_new();
}