[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2230 [Tor Relay]: microdescs never purged from authority cache
#2230: microdescs never purged from authority cache
-----------------------+----------------------------------------------------
Reporter: arma | Owner: nickm
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: Tor Relay | Version: Tor: unspecified
Keywords: | Parent:
-----------------------+----------------------------------------------------
Comment(by cypherpunks):
{{{
--- microdesc.c.orig Mon Jan 3 22:25:30 2011
+++ microdesc.c Mon Jan 10 16:28:12 2011
@@ -305,6 +305,7 @@
journal_content = read_file_to_str(cache->journal_fname,
RFTS_IGNORE_MISSING, &st);
if (journal_content) {
+ cache->journal_len = st.st_size;
added = microdescs_add_to_cache(cache, journal_content,
journal_content+st.st_size,
SAVED_IN_JOURNAL, 0, -1, NULL);
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2230#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs