From a1ce60f9a662d9a4c9dee295eec888e6a243ab7d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 13 Aug 2007 21:19:54 +0000 Subject: r14546@catbus: nickm | 2007-08-13 17:19:01 -0400 Make if-modified-since work on consensuses svn:r11095 --- src/or/dirserv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or') diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 0646c6fb9..579dc62de 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2723,6 +2723,8 @@ dirserv_remove_old_statuses(smartlist_t *fps, time_t cutoff) cached_dir_t *d; if (router_digest_is_me(digest) && the_v2_networkstatus) d = the_v2_networkstatus; + else if (tor_digest_is_zero(digest) && cached_v3_networkstatus) + d = cached_v3_networkstatus; else d = digestmap_get(cached_v2_networkstatus, digest); if (d && d->published <= cutoff) { -- cgit v1.2.3