aboutsummaryrefslogtreecommitdiff
path: root/src/or/microdesc.c
Commit message (Expand)AuthorAge
* Fix a potential null deref when rebuilding md cache•••Issue discovered using clang's static analyzer Sebastian Hahn2011-05-09
* Change who calls microdesc_cache_rebuild().•••Previously we ensured that it would get called periodically by doing it from inside the code that added microdescriptors. That won't work though: it would interfere with our code that tried to read microdescs from disk initially. Instead, we should consider rebuilding the cache periodically, and on startup. Nick Mathewson2011-05-03
* Rebuild the microdesc cache when a sufficient number of bytes are dropped•••Previously on 0.2.2, we'd never clean the cache. Now that we can clean it, we want to add a condition to rebuild it: that should happen whenever we have dropped enough microdescriptors that we could save a lot of space. No changes file, since 0.2.3 doesn't need one and 0.2.2 already has some changes files for the backport of the microdesc_clean_cahce() function. Nick Mathewson2011-05-03
* Backport microdesc_cache_clean to 0.2.2•••Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound. Nick Mathewson2011-05-03
* Fix a check for when to rebuild the microdesc cache. (Backport from 0.2.3.Nick Mathewson2011-05-03
* Add missing code to set cache->journal_len when reading microdesc journal•••This could be one reason that authorities' journals would grow without bound; related to bug 2230. Bugfix on 0.2.2.6-alpha. Fix by "cypherpunks". Nick Mathewson2011-05-03
* Bump copyright statements to 2011 (0.2.2)Nick Mathewson2011-01-03
* Fix compilation with --with-dmalloc•••Fixes 1832; bugfix on 0.2.2.6-alpha Karsten Loesing2010-08-16
* Create routerparse.hSebastian Hahn2010-07-27
* Create microdesc.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Update copyright dates for files not in maint-0.2.1Nick Mathewson2010-02-27
* Fix a memory corruption bug while collecting bridge stats•••We accidentally freed the internal buffer for bridge stats when we were writing the bridge stats file or honoring a control port request for said data. Change the interfaces for geoip_get_bridge_stats* to prevent these problems, and remove the offending free/add a tor_strdup. Fixes bug 1208. Karsten Loesing2010-01-26
* Since dump_microdescriptor() can return -1; make its type ssize_tNick Mathewson2010-01-24
* Handle errors reported by fwrite() in dump_microdescriptor()•••Does not deal with error handling in dump_microdescriptor's callers. Peter Palfrader2010-01-24
* Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* Fix compile with warnings problems on Snow LeopardSebastian Hahn2009-10-19
* Add functions to serve microdescs and flavored consensuses.Nick Mathewson2009-10-18
* Document the microdescriptor code better.Nick Mathewson2009-10-18
* Fix various bugs in microdescriptor caching.Nick Mathewson2009-10-18
* Code to generate, store, and parse microdescriptors and consensuses.•••The consensus documents are not signed properly, not served, and not exchanged yet. Nick Mathewson2009-10-15