1. 24 Oct, 2019 1 commit
    • David Goulet's avatar
      hs-v3: Remove a BUG() caused by an acceptable race · ed57a04a
      David Goulet authored
      
      
      hs_client_purge_state() and hs_cache_clean_as_client() can remove a descriptor
      from the client cache with a NEWNYM or simply when the descriptor expires.
      
      Which means that for an INTRO circuit being established during that time, once
      it opens, we lookup the descriptor to get the IP object but hey surprised, no
      more descriptor.
      
      The approach here is minimalist that is accept the race and close the circuit
      since we can not continue. Before that, the circuit would stay opened and the
      client wait the SockTimeout.
      
      Fixers #28970.
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      ed57a04a
  2. 22 Oct, 2019 12 commits
  3. 20 Oct, 2019 1 commit
  4. 17 Oct, 2019 3 commits
  5. 02 Oct, 2019 2 commits
  6. 01 Oct, 2019 3 commits
  7. 30 Sep, 2019 3 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.
      1e0e23c1
    • teor's avatar
      Travis: Remove a redundant clang Linux job · 4e429783
      teor authored
      Part of 31859.
      4e429783
    • teor's avatar
      Appveyor: Avoid spurious errors in Appveyor CI builds · b1864187
      teor authored
      When Appveyor fails before the install step, some of the finish step's
      functions were not defined.
      
      Fixes bug 31884; bugfix on 0.3.4.2-alpha.
      b1864187
  8. 26 Sep, 2019 1 commit
  9. 24 Sep, 2019 1 commit
  10. 23 Sep, 2019 2 commits
    • Nick Mathewson's avatar
      Try using make -k in the Appveyor configuration · 49a11f8a
      Nick Mathewson authored
      Frequently, when a patch fails, it has failures in several files.
      Using the "-k" flag will let us learn all the compilation errors,
      not just the first one that the compiler hits.
      
      Based on a patch by rl1987.
      
      Closes ticket 31372.
      49a11f8a
    • Nick Mathewson's avatar
      Try using make -k in Travis configuration · 6ed3d8db
      Nick Mathewson authored
      Frequently, when a patch fails, it has failures in several files.
      Using the "-k" flag will let us learn all the compilation errors,
      not just the first one that the compiler hits.
      
      Based on a patch by rl1987.
      6ed3d8db
  11. 18 Sep, 2019 3 commits
  12. 17 Sep, 2019 2 commits
  13. 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 0.2.3.4-alpha when this code was
      added.
      97f7efa9
    • 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.
      51475aee
  14. 09 Sep, 2019 2 commits
  15. 06 Sep, 2019 1 commit
  16. 05 Sep, 2019 1 commit