1. 09 Jan, 2019 1 commit
    • Kris Katterjohn's avatar
      Fix (and make consistent) the use of OpenBSD preprocessor macro tests · c13a81f7
      Kris Katterjohn authored and Nick Mathewson's avatar Nick Mathewson committed
      Prior to this commit, the testsuite was failing on OpenBSD.  After
      this commit the testsuite runs fine on OpenBSD.
      
      It was previously decided to test for the OpenBSD macro (rather than
      __OpenBSD__, etc.) because OpenBSD forks seem to have the former
      macro defined.  sys/param.h must be included for the OpenBSD macro
      definition; however, many files tested for the OpenBSD macro without
      having this header included.
      
      This commit includes sys/param.h in the files where the OpenBSD macro
      is used (and sys/param.h is not already included), and it also
      changes some instances of the __OpenBSD__ macro to OpenBSD.
      
      See commit 27df23ab
      
       which changed
      everything to use OpenBSD instead of __OpenBSD__ or OPENBSD.  See
      also tickets #6982 and #20980 (the latter ticket is where it was
      decided to use the OpenBSD macro).
      
      Signed-off-by: default avatarKris Katterjohn <katterjohn@gmail.com>
      c13a81f7
  2. 08 Jan, 2019 5 commits
  3. 07 Jan, 2019 9 commits
  4. 04 Jan, 2019 10 commits
  5. 03 Jan, 2019 7 commits
  6. 02 Jan, 2019 3 commits
  7. 21 Dec, 2018 3 commits
    • Nick Mathewson's avatar
      a9eec336
    • David Goulet's avatar
      mainloop: Reactivate the linked connection event with a non empty list · 2420e84b
      David Goulet authored
      Linked connections aren't woken up by libevent due to I/O but rather
      artificially so we can, by chunks, empty the spooled object(s).
      
      Commit 5719dfb4 (in 0.3.4.1-alpha) made it
      that the schedule_active_linked_connections_event would be only called once at
      startup but this is wrong because then we would never go through again the
      active linked connections.
      
      Fortunately, everytime a new linked connection is created, the event is
      activated and thus we would go through the active list again. On a busy relay,
      this issue is mitigated by that but on a slower relays or bridge, a connection
      could get stuck for a while until a new directory information request would
      show up.
      
      Fixes #28717, #28912
      2420e84b
    • Nick Mathewson's avatar
      Try @warning_flags to avoid bloating verbose make logs · 97c9ced7
      Nick Mathewson authored
      We now accumulate warning flags in a separate variable,
      "TOR_WARNING_FLAGS", and write it to a "warning_flags" file.  Then
      we test whether the compiler will accept "@warning_flags": if so, we
      put "@warning_flags" in the CFLAGS; if not, we copy the contents of
      "$TOR_WARNING_FLAGS" into the CFLAGS.
      
      Closes ticket 28924.
      97c9ced7
  8. 20 Dec, 2018 2 commits