Skip to content
  • Mike Perry's avatar
    Bug 17604: Converge on only one long-lived TLS conn between relays. · 76c9330f
    Mike Perry authored and Nick Mathewson's avatar Nick Mathewson committed
    Accomplished via the following:
    
    1. Use NETINFO cells to determine if both peers will agree on canonical
       status. Prefer connections where they agree to those where they do not.
    2. Alter channel_is_better() to prefer older orconns in the case of multiple
       canonical connections, and use the orconn with more circuits on it in case
       of age ties.
    
    Also perform some hourly accounting on how many of these types of connections
    there are and log it at info or notice level.
    76c9330f