aboutsummaryrefslogtreecommitdiff
path: root/src/or/microdesc.c
Commit message (Collapse)AuthorAge
* Fix a potential null deref when rebuilding md cacheSebastian Hahn2011-05-09
| | | | Issue discovered using clang's static analyzer
* Change who calls microdesc_cache_rebuild().Nick Mathewson2011-05-03
| | | | | | | | 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.
* Rebuild the microdesc cache when a sufficient number of bytes are droppedNick Mathewson2011-05-03
| | | | | | | | | | 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.
* Backport microdesc_cache_clean to 0.2.2Nick Mathewson2011-05-03
| | | | | Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound.
* 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 journalNick Mathewson2011-05-03
| | | | | | 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".
* Bump copyright statements to 2011 (0.2.2)Nick Mathewson2011-01-03
|
* Fix compilation with --with-dmallocKarsten Loesing2010-08-16
| | | | Fixes 1832; bugfix on 0.2.2.6-alpha
* 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 statsKarsten Loesing2010-01-26
| | | | | | | | | | 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.
* Since dump_microdescriptor() can return -1; make its type ssize_tNick Mathewson2010-01-24
|
* Handle errors reported by fwrite() in dump_microdescriptor()Peter Palfrader2010-01-24
| | | | Does not deal with error handling in dump_microdescriptor's callers.
* 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.Nick Mathewson2009-10-15
The consensus documents are not signed properly, not served, and not exchanged yet.