1. 22 Feb, 2008 1 commit
  2. 21 Feb, 2008 5 commits
  3. 08 Feb, 2008 1 commit
  4. 07 Feb, 2008 1 commit
  5. 06 Feb, 2008 3 commits
  6. 05 Feb, 2008 1 commit
  7. 30 Jan, 2008 1 commit
    • Nick Mathewson's avatar
      r17854@catbus: nickm | 2008-01-30 17:52:43 -0500 · f013fb5e
      Nick Mathewson authored
       Periodically check whether we have an expired consensus networkstatus.  If we do, and we think we have enough directory info, then call router_dir_info_changed().  Fixes bug 401.  This bug was deferred from 0.1.2.x, but fixing it there is nontrivial.
      
      
      svn:r13342
      f013fb5e
  8. 21 Jan, 2008 1 commit
  9. 18 Jan, 2008 2 commits
  10. 02 Jan, 2008 1 commit
    • Nick Mathewson's avatar
      r15784@tombo: nickm | 2008-01-02 00:38:06 -0500 · c0ec2815
      Nick Mathewson authored
       Fix bug 575: protect the list of logs with a mutex.  I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you.
      
      
      svn:r13019
      c0ec2815
  11. 26 Dec, 2007 1 commit
    • Nick Mathewson's avatar
      r15693@tombo: nickm | 2007-12-25 19:11:29 -0500 · a7ef07b4
      Nick Mathewson authored
       Here, have some terribly clever new buffer code.  It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data.  Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation.  I've  tested it out a little on peacetime, and it seems to work so far.  If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module.
      
      
      svn:r12983
      a7ef07b4
  12. 24 Dec, 2007 1 commit
  13. 21 Dec, 2007 1 commit
  14. 20 Dec, 2007 1 commit
  15. 19 Dec, 2007 1 commit
  16. 18 Dec, 2007 2 commits
  17. 17 Dec, 2007 1 commit
  18. 12 Dec, 2007 1 commit
  19. 04 Dec, 2007 1 commit
    • Roger Dingledine's avatar
      Stop being so aggressive about fetching dir info if your DirPort is · d46b8a3e
      Roger Dingledine authored
      on but your ORPort is off.
      
      Add a new config option BridgeRelay that specifies you want to
      be a bridge relay. Right now the only difference is that it makes
      you answer begin_dir requests, and it makes you cache dir info,
      even if your DirPort isn't on.
      
      Refactor directory_caches_dir_info() into some more functions.
      
      
      svn:r12668
      d46b8a3e
  20. 01 Dec, 2007 3 commits
  21. 26 Nov, 2007 1 commit
    • Roger Dingledine's avatar
      Only update guard status (usable / not usable) once we have · 91bb09cb
      Roger Dingledine authored
      enough directory information. This was causing us to always pick
      two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
      causing us to discard all our guards on startup if we hadn't been
      running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
      
      
      svn:r12570
      91bb09cb
  22. 08 Nov, 2007 2 commits
    • Nick Mathewson's avatar
      r16582@catbus: nickm | 2007-11-08 13:14:16 -0500 · 1bdbd3b9
      Nick Mathewson authored
       Try to bulletproof the parse logic for router-stability.
      
      
      svn:r12441
      1bdbd3b9
    • Nick Mathewson's avatar
      r16570@catbus: nickm | 2007-11-08 11:04:20 -0500 · c3a74595
      Nick Mathewson authored
       Keep track, for each OR connection, of the last time we added a non-padding cell to its outbuf.  Use this timestamp, not "lastwritten" to tell if it is time to close a circuitless connection.  (We can'tuse lastwritten, since lastwritten is updated when ever the connection flushes anything, and by that point we can no longer tell what is a padding cell and what is not.)
      
      
      svn:r12437
      c3a74595
  23. 02 Nov, 2007 2 commits
  24. 01 Nov, 2007 1 commit
  25. 26 Oct, 2007 1 commit
  26. 23 Oct, 2007 1 commit
  27. 18 Oct, 2007 2 commits