1. 01 Oct, 2014 1 commit
  2. 24 Aug, 2014 1 commit
    • Nick Mathewson's avatar
      Terser ways to sandbox-allow related filenames · 7c1143e1
      Nick Mathewson authored
      Using the *_array() functions here confused coverity, and was actually
      a bit longer than we needed.  Now we just use macros for the repeated
      bits, so that we can mention a file and a suffix-appended version in
      one line.
      7c1143e1
  3. 16 Jul, 2014 1 commit
  4. 09 Jul, 2014 1 commit
  5. 20 Jun, 2014 1 commit
  6. 14 Jun, 2014 1 commit
  7. 13 Jun, 2014 1 commit
  8. 11 Jun, 2014 3 commits
    • Nick Mathewson's avatar
      whitespaces fixes · 02dafc27
      Nick Mathewson authored
      02dafc27
    • Nick Mathewson's avatar
      Replace last_added_nonpadding with last_had_circuits · 6557e612
      Nick Mathewson authored
      The point of the "idle timeout" for connections is to kill the
      connection a while after it has no more circuits.  But using "last
      added a non-padding cell" as a proxy for that is wrong, since if the
      last circuit is closed from the other side of the connection, we
      will not have sent anything on that connection since well before the
      last circuit closed.
      
      This is part of fixing 6799.
      
      When applied to 0.2.5, it is also a fix for 12023.
      6557e612
    • Nick Mathewson's avatar
      Give each or_connection_t a slightly randomized idle_timeout · 463f6628
      Nick Mathewson authored
      Instead of killing an or_connection_t that has had no circuits for
      the last 3 minutes, give every or_connection_t a randomized timeout,
      so that an observer can't so easily infer from the connection close
      time the time at which its last circuit closed.
      
      Also, increase the base timeout for canonical connections from 3
      minutes to 15 minutes.
      
      Fix for ticket 6799.
      463f6628
  9. 02 Jun, 2014 1 commit
  10. 27 May, 2014 1 commit
  11. 23 May, 2014 3 commits
  12. 22 May, 2014 3 commits
  13. 20 May, 2014 6 commits
  14. 14 May, 2014 1 commit
  15. 13 May, 2014 1 commit
  16. 12 May, 2014 1 commit
  17. 05 May, 2014 1 commit
  18. 24 Apr, 2014 1 commit
  19. 17 Apr, 2014 7 commits
  20. 15 Apr, 2014 1 commit
    • dana koch's avatar
      Uplift status.c unit test coverage with new test cases and macros. · 3ce39847
      dana koch authored and Nick Mathewson's avatar Nick Mathewson committed
      A new set of unit test cases are provided, as well as introducing
      an alternative paradigm and macros to support it. Primarily, each test
      case is given its own namespace, in order to isolate tests from each
      other. We do this by in the usual fashion, by appending module and
      submodule names to our symbols. New macros assist by reducing friction
      for this and other tasks, like overriding a function in the global
      namespace with one in the current namespace, or declaring integer
      variables to assist tracking how many times a mock has been called.
      
      A set of tests for a small-scale module has been included in this
      commit, in order to highlight how the paradigm can be used. This
      suite gives 100% coverage to status.c in test execution.
      3ce39847
  21. 09 Apr, 2014 1 commit
  22. 08 Apr, 2014 1 commit
  23. 31 Mar, 2014 1 commit