Skip to content
Permalink
bug2503

Commits on May 12, 2011

  1. Fixes ticket #2503

    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.
    mikey99 committed May 12, 2011
  2. 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.
    nmathewson committed May 12, 2011
  3. 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.
    nmathewson committed May 12, 2011

Commits on May 11, 2011

  1. Merge branch 'maint-0.2.1' into maint-0.2.2

    Roger Dingledine
    Roger Dingledine committed May 11, 2011
  2. Update to the May 1 2011 Maxmind GeoLite Country database

    Roger Dingledine
    Roger Dingledine committed May 11, 2011
  3. another changelog heuristic based on 0.2.3.1-alpha

    Roger Dingledine
    Roger Dingledine committed May 11, 2011

Commits on May 9, 2011

  1. Remove some dead code, found by clang

    shahn authored and nmathewson committed May 9, 2011
  2. Fix potential null pointer deref during dirvote

    Found by using clang's analyzer.
    shahn authored and nmathewson committed May 9, 2011
  3. Fix a potential null deref when rebuilding md cache

    Issue discovered using clang's static analyzer
    shahn authored and nmathewson committed May 9, 2011
  4. 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.
    shahn authored and nmathewson committed May 9, 2011
  5. 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.
    shahn authored and nmathewson committed May 9, 2011
  6. 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.
    shahn authored and nmathewson committed May 9, 2011
  7. Fix a docstring

    shahn authored and nmathewson committed May 9, 2011

Commits on May 6, 2011

Commits on May 3, 2011

  1. 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.
    nmathewson committed May 3, 2011
  2. 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.
    nmathewson committed May 3, 2011
  3. 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.
    nmathewson committed May 3, 2011
  4. 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".
    nmathewson committed May 3, 2011
Older