Skip to content
Snippets Groups Projects
  1. Apr 06, 2017
  2. Apr 04, 2017
  3. Apr 03, 2017
    • Taylor Yu's avatar
      Capture expected log in test_circuitbuild.c · b1c7e5d8
      Taylor Yu authored
      Capture the warning for the unhandled circuit purpose test case, both
      to clean up the test log and to confirm that it gets logged.
      b1c7e5d8
    • Taylor Yu's avatar
      Test unhandled purpose in route_len_for_purpose() · f0a57df5
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      Check that route_len_for_purpose() (helper for new_route_len())
      correctly fails a non-fatal bug assertion if it encounters an
      unhandled circuit purpose when it is called with exit node info.
      f0a57df5
    • Taylor Yu's avatar
      Refactor and comment new_route_len() · ceedcfe9
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      Add a new helper function route_len_for_purpose(), which explicitly
      lists all of the known circuit purposes for a circuit with a chosen
      exit node (unlike previously, where the default route length for a
      chosen exit was DEFAULT_ROUTE_LEN + 1 except for two purposes).  Add a
      non-fatal assertion for unhandled purposes that conservatively returns
      DEFAULT_ROUTE_LEN + 1.
      
      Add copious comments documenting which circuits need an extra hop and
      why.
      
      Thanks to nickm and dgoulet for providing background information.
      ceedcfe9
    • Taylor Yu's avatar
      Add tests for new_route_len() · 1e8e8a4e
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      1e8e8a4e
    • Nick Mathewson's avatar
      version bump · 6ec32282
      Nick Mathewson authored
      6ec32282
  4. Mar 29, 2017
  5. Mar 28, 2017
  6. Mar 27, 2017
  7. Mar 26, 2017
  8. Mar 23, 2017
  9. Mar 20, 2017
  10. Mar 17, 2017
  11. Mar 16, 2017
Loading