summaryrefslogtreecommitdiff
path: root/src/or/rendcache.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-08-05 13:48:12 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-11 09:34:41 -0400
commit6e967235240dede017bbf0a696de62443fd2a7c3 (patch)
treecb34f5500d9a3055bc29db422ae3681af322e48b /src/or/rendcache.h
parentc265621a525f23f5e208f5ca0c7211bd6c7483ce (diff)
downloadtor-6e967235240dede017bbf0a696de62443fd2a7c3.tar.gz
tor-6e967235240dede017bbf0a696de62443fd2a7c3.zip
Add created timestamp to a rend cache failure entry
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/rendcache.h')
-rw-r--r--src/or/rendcache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendcache.h b/src/or/rendcache.h
index b214a48ccc..98c0f95264 100644
--- a/src/or/rendcache.h
+++ b/src/or/rendcache.h
@@ -34,6 +34,9 @@ typedef struct rend_cache_entry_t {
/* Introduction point failure type. */
typedef struct rend_cache_failure_intro_t {
+ /* When this intro point failure occured thus we allocated this object and
+ * cache it. */
+ time_t created_ts;
rend_intro_point_failure_t failure_type;
} rend_cache_failure_intro_t;