bug2503
Commits on May 12, 2011
-
HTTPS error code 403 is now reported as: "The https proxy refused to allow connection". Used a switch statement for additional error codes to be explained in the future.
-
-
Unmap microdesc cache before replacing it.
If we do a replace-then-munmap, windows will never actually rewrite the microdesc cache. Found by wanoskarnet; bugfix on 0.2.2.6-alpha.
-
-
-
Fix crash when read_file_to_string() fails in SAVECONF
The new behavior is to try to rename the old file if there is one there that we can't read. In all likelihood, that will fail too, but at least we tried, and at least it won't crash.
Commits on May 11, 2011
-
Merge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine committedMay 11, 2011 -
Update to the May 1 2011 Maxmind GeoLite Country database
Roger Dingledine committedMay 11, 2011 -
another changelog heuristic based on 0.2.3.1-alpha
Roger Dingledine committedMay 11, 2011
Commits on May 9, 2011
-
-
-
-
Fix potential null pointer deref during dirvote
Found by using clang's analyzer.
-
Fix a potential null deref when rebuilding md cache
Issue discovered using clang's static analyzer
-
CONN_LOG_PROTECT()'s first argument may not be 0
Make that explicit by adding an assert and removing a null-check. All of its callers currently depend on the argument being non-null anyway. Silences a few clang complaints.
-
Appease clang - and my tortured mind
This possible div by 0 warning from clang's analyzer was quite fun to track down. Turns out the current behaviour is safe.
-
Add an assert to un-confuse clang's analyzer
The analyzer assumed that bootstrap_percent could be less than 0 when we call control_event_bootstrap_problem(), which would mean we're calling log_fn() with undefined values. The assert makes it clear this can't happen.
-
Commits on May 6, 2011
Commits on May 5, 2011
Commits on May 4, 2011
Commits on May 3, 2011
-
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.
-
Rebuild the microdesc cache when a sufficient number of bytes are dro…
…pped 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.2
Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound.
-
Add missing code to set cache->journal_len when reading microdesc jou…
…rnal 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".