Skip to content
Snippets Groups Projects
  1. Sep 01, 2012
    • Roger Dingledine's avatar
      Make begindir_cutoff the same as general_cutoff · eb3d0796
      Roger Dingledine authored
      Allow one-hop directory fetching circuits the full "circuit build timeout"
      period, rather than just half of it, before failing them and marking
      the relay down. This fix should help reduce cases where clients declare
      relays (or worse, bridges) unreachable because the TLS handshake takes
      a few seconds to complete.
      
      Fixes bug 6743 (one piece of bug 3443); bugfix on 0.2.2.2-alpha, where
      we changed the timeout from a static 30 seconds.
      eb3d0796
  2. Aug 31, 2012
  3. Aug 27, 2012
  4. Aug 17, 2012
  5. Aug 16, 2012
  6. Aug 15, 2012
  7. Aug 14, 2012
  8. Aug 09, 2012
    • Nick Mathewson's avatar
    • Nick Mathewson's avatar
      Don't infer we have a FooPort from the presence of a FooPort line · dfe03d36
      Nick Mathewson authored
      Thanks to the changes we started making with SocksPort and friends
      in 0.2.3.3-alpha, any of our code that did "if (options->Sockport)"
      became wrong, since "SocksPort 0" would make that test true whereas
      using the default SocksPort value would make it false.  (We didn't
      actually do "if (options->SockPort)" but we did have tests for
      TransPort.  When we moved DirPort, ORPort, and ControlPort over to
      the same system in 0.2.3.9-alpha, the problem got worse, since our
      code is littered with checks for DirPort and ORPort as booleans.
      
      This code renames the current linelist-based FooPort options to
      FooPort_lines, and adds new FooPort_set options which get set at
      parse-and-validate time on the or_options_t.  FooPort_set is true
      iff we will actually try to open a listener of the given type. (I
      renamed the FooPort options rather than leave them alone so that
      every previous user of a FooPort would need to get inspected, and so
      that any new code that forgetfully uses FooPort will need fail to
      compile.)
      
      Fix for bug 6507.
      dfe03d36
  9. Aug 03, 2012
  10. Aug 01, 2012
  11. Jul 31, 2012
  12. Jul 20, 2012
  13. Jul 18, 2012
  14. Jul 17, 2012
  15. Jul 16, 2012
  16. Jul 06, 2012
Loading