Files
tor/changes
David Goulet 5b03c7ba6d Fix check_expired_networkstatus_callback() if condition
The condition was always true meaning that we would reconsider updating our
directory information every 2 minutes.

If valid_until is 6am today, then now - 24h == 1pm yesterday which means that
"valid_until < (now - 24h)" is false. But at 6:01am tomorrow, "valid_until <
(now - 24h)" becomes true which is that point that we shouldn't trust the
consensus anymore.

Fixes #23091

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-08-02 13:28:45 -04:00
..
2017-07-05 10:15:17 -04:00
2017-06-21 11:15:44 -04:00
2017-06-23 18:31:16 +00:00
2017-07-12 03:08:04 +00:00
2017-06-19 14:28:36 -04:00
2017-06-22 08:16:56 -04:00
2017-06-28 16:09:59 +03:00
2017-07-05 09:57:48 -04:00
2017-06-19 14:14:17 -04:00
2017-06-21 13:49:17 -04:00
2017-07-05 10:01:40 -04:00