1. 09 Oct, 2019 1 commit
  2. 29 May, 2019 1 commit
    • Nick Mathewson's avatar
      Make get_proxy_type() connection-specific · 5cbd71b9
      Nick Mathewson authored
      Previously, we were looking at our global settings to see what kind
      of proxy we had.  But doing this would sometimes give us the wrong
      results when we had ClientTransportPlugin configured but we weren't
      using it for a particular connection.  In several places in the
      code, we had added checks to see if we were _really_ using a PT or
      whether we were using a socks proxy, but we had forgotten to do so
      in at least once case.  Instead, since every time we call this
      function we are asking about a single connection, it is probably
      best just to make this function connection-specific.
      
      Fixes bug 29670; bugfix on 0.2.6.2-alpha.
      5cbd71b9
  3. 01 Mar, 2019 1 commit
  4. 16 Jan, 2019 1 commit
  5. 15 Oct, 2018 2 commits
  6. 14 Oct, 2018 1 commit
  7. 03 Oct, 2018 2 commits
  8. 01 Oct, 2018 2 commits
  9. 27 Sep, 2018 1 commit
  10. 25 Sep, 2018 3 commits
  11. 21 Sep, 2018 2 commits
    • Nick Mathewson's avatar
      Split directory.c code into several modules · 194acfb5
      Nick Mathewson authored
      Parts of this C file naturally belong in dircache, dirclient, and
      dircommon: so, move them there.
      194acfb5
    • Nick Mathewson's avatar
      Split main.c into main.c and mainloop.c · c7ce6b98
      Nick Mathewson authored
      The main.c code is responsible for initialization and shutdown;
      the mainloop.c code is responsible for running the main loop of Tor.
      
      Splitting the "generic event loop" part of mainloop.c from the
      event-loop-specific part is not done as part of this patch.
      c7ce6b98
  12. 20 Sep, 2018 1 commit
    • Nick Mathewson's avatar
      Fix socket accounting with ORConn sockets. · f25323fe
      Nick Mathewson authored
      When we close a socket via tor_tls_free(), we previously had no way
      for our socket accounting logic to learn about it.  This meant that
      the socket accounting code would think we had run out of sockets,
      and freak out.
      
      Fixes bug 27795; bugfix on 0.3.5.1-alpha.
      f25323fe
  13. 12 Sep, 2018 12 commits
  14. 06 Sep, 2018 1 commit
  15. 04 Sep, 2018 1 commit
  16. 27 Aug, 2018 2 commits
  17. 18 Aug, 2018 1 commit
  18. 05 Jul, 2018 3 commits
    • Nick Mathewson's avatar
      Fix every include path changed in the previous commit (automated) · ef486e3c
      Nick Mathewson authored
      I am very glad to have written this script.
      ef486e3c
    • Nick Mathewson's avatar
      Move literally everything out of src/or · 63b4ea22
      Nick Mathewson authored
      This commit won't build yet -- it just puts everything in a slightly
      more logical place.
      
      The reasoning here is that "src/core" will hold the stuff that every (or
      nearly every) tor instance will need in order to do onion routing.
      Other features (including some necessary ones) will live in
      "src/feature".  The "src/app" directory will hold the stuff needed
      to have Tor be an application you can actually run.
      
      This commit DOES NOT refactor the former contents of src/or into a
      logical set of acyclic libraries, or change any code at all.  That
      will have to come in the future.
      
      We will continue to move things around and split them in the future,
      but I hope this lays a reasonable groundwork for doing so.
      63b4ea22
    • Nick Mathewson's avatar
      2d69c32b
  19. 03 Jul, 2018 1 commit
  20. 02 Jul, 2018 1 commit