1. 21 Oct, 2019 1 commit
    • Roger Dingledine's avatar
      respect accountingmax during soft hibernation · a7ccd9a9
      Roger Dingledine authored
      Relays now respect their AccountingMax bandwidth again. When relays
      entered "soft" hibernation (which typically starts when we've hit
      90% of our AccountingMax), we had stopped checking whether we should
      enter hard hibernation. Soft hibernation refuses new connections and
      new circuits, but the existing circuits can continue, meaning that
      relays could have exceeded their configured AccountingMax.
      This commit rolls back some of the cpu-saving fixes, where we tried
      to avoid calling so many of our events while we're off the network.
      That's because PERIODIC_EVENT_FLAG_NEED_NET checks net_is_disabled(),
      which returns true even if we're only in soft hibernation.
      Fixes bug 32108; bugfix on
  2. 17 Oct, 2019 4 commits
  3. 02 Oct, 2019 3 commits
  4. 01 Oct, 2019 3 commits
  5. 30 Sep, 2019 2 commits
    • teor's avatar
      Travis: Add a macOS chutney job, but don't wait for it to finish · 1e0e23c1
      teor authored
      Since Travis macOS has IPv6 support (and Travis Linux does not), chutney
      will now run its IPv6 networks as part of Travis CI.
      But since chutney is slow, don't wait for the macOS chutney to finish.
      (Travis have fixed the duplicate notification bug in fast_finish. So we
      can use fast_finish and allow_failure to finish early. Unfortunately,
      allow_failure also means we ignore failures in macOS chutney.)
      Also make sure that we have:
      * a compile on each platform, with each compiler,
      * a check on each platform, and
      * a check on each compiler.
      Finally, sort builds: allow fail last, macOS first, slowest first.
      Closes ticket 30860.
      Closes ticket 31859 for 0.2.9.
    • teor's avatar
      Travis: Remove a redundant clang Linux job · 4e429783
      teor authored
      Part of 31859.
  6. 26 Sep, 2019 1 commit
  7. 18 Sep, 2019 5 commits
  8. 17 Sep, 2019 3 commits
  9. 12 Sep, 2019 2 commits
  10. 10 Sep, 2019 2 commits
    • Nick Mathewson's avatar
      pf: when extracting an IPv6 address, make sure we got an IPv6 address · 97f7efa9
      Nick Mathewson authored
      Our code assumes that when we're configured to get IPv6 addresses
      out of a TRANS_PF transparent proxy connection, we actually will.
      But we didn't check that, and so FreeBSD started warning us about a
      potential NULL pointer dereference.
      Fixes part of bug 31687; bugfix on when this code was
    • Nick Mathewson's avatar
      fp.c: Suppress float-conversion warnings on FreeBSD. · 51475aee
      Nick Mathewson authored
      We used to do this on Windows only, but it appears to affect
      multiple platforms when building with certain versions of GCC, and a
      common pattern for defining the floating-point classifier functions.
      Fixes part of 31687. I'm calling this a bugfux on 31687, when we
      started suppressing these warnings on Windows.
  11. 09 Sep, 2019 2 commits
  12. 06 Sep, 2019 1 commit
  13. 05 Sep, 2019 4 commits
  14. 30 Aug, 2019 4 commits
  15. 29 Aug, 2019 1 commit
  16. 27 Aug, 2019 1 commit
  17. 22 Aug, 2019 1 commit