1. 16 Oct, 2018 1 commit
    • David Goulet's avatar
      mainloop: Set client role if ControlPort is set · b5731cdf
      David Goulet authored and Nick Mathewson's avatar Nick Mathewson committed
      It turns out that if _only_ the ControlPort is set and nothing else, tor would
      simply not bootstrap and thus not start properly. Commit 67a41b63
      removed that requirement for tor to be considered a "client".
      
      Unfortunately, this made the mainloop enable basically nothing if only the
      ControlPort is set in the torrc.
      
      This commit now makes it that we also consider the ControlPort when deciding
      if we are a Client or not. It does not revert 67a41b63 meaning
      options_any_client_port_set() stays the same, not looking at the control port.
      
      Fixes #27849
      
      .
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      b5731cdf
  2. 07 Sep, 2018 1 commit
  3. 31 Jul, 2018 1 commit
    • Nick Mathewson's avatar
      Always call tor_free_all() when exiting tor_run_main() · a67d153c
      Nick Mathewson authored
      We would usually call it through tor_cleanup(), but in some code
      paths, we wouldn't. These paths would break restart-in-process,
      since leaving fields uncleared would cause assertion failures on
      restart.
      
      Fixes bug 26948; bugfix on 0.3.3.1-alpha
      a67d153c
  4. 10 May, 2018 1 commit
  5. 09 May, 2018 8 commits
  6. 07 May, 2018 1 commit
  7. 03 May, 2018 3 commits
  8. 02 May, 2018 1 commit
  9. 01 May, 2018 6 commits
  10. 30 Apr, 2018 2 commits
  11. 27 Apr, 2018 5 commits
  12. 26 Apr, 2018 5 commits
  13. 25 Apr, 2018 2 commits
  14. 23 Apr, 2018 3 commits