Skip to content
Snippets Groups Projects
  1. Dec 21, 2018
    • Taylor Yu's avatar
      Add tests for bootstrap tracker · f0f97140
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      Part of ticket 27617.
      f0f97140
    • Taylor Yu's avatar
      The big bootstrap phase redefinition · 85542ee5
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      Redefine the set of bootstrap phases to allow display of finer-grained
      progress in the early connection stages of connecting to a relay.
      
      This includes adding intermediate phases for proxy and PT connections.
      
      Also add a separate new phase to indicate obtaining enough directory
      info to build circuits so we can report that independently of actually
      initiating an ORCONN to build the first application circuit.
      Previously, we would claim to be connecting to a relay when we had
      merely finished obtaining directory info.
      
      Part of ticket 27167.
      85542ee5
    • Taylor Yu's avatar
      Hook up control_event_bootstrap() to btrack_orconn · 936c93e5
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      Replace a few invocations of control_event_bootstrap() with calls from
      the bootstrap tracker subsystem.  This mostly leaves behavior
      unchanged.  The actual behavior changes come in the next commit.
      
      Part of ticket 27167.
      936c93e5
    • Taylor Yu's avatar
      Add a comment about bto_update_best. · 9d29abb3
      Taylor Yu authored and Nick Mathewson's avatar Nick Mathewson committed
      9d29abb3
    • Taylor Yu's avatar
      Add bootstrap tracker subsystem · b0ae6a33
      Taylor Yu authored
      Add a tracker for bootstrap progress, tracking events related to
      origin circuit and ORCONN states.  This uses the ocirc_event and
      orconn_event publish-subscribe subsystems.
      
      Part of ticket 27167.
      b0ae6a33
    • Taylor Yu's avatar
      Add LD_BTRACK log domain for bootstrap tracker · b0f97463
      Taylor Yu authored
      Part of ticket 27167.
      b0f97463
    • Taylor Yu's avatar
      Add origin circuit event pubsub system · a0b4fa1f
      Taylor Yu authored
      Add a publish-subscribe subsystem to publish messages about changes to
      origin circuits.
      
      Functions in circuitbuild.c and circuitlist.c publish messages to this
      subsystem.
      
      Move circuit event constants out of control.h so that subscribers
      don't have to include all of control.h to take actions based on
      messages they receive.
      
      Part of ticket 27167.
      a0b4fa1f
    • Taylor Yu's avatar
      Add ORCONN event pubsub system · 271b50f5
      Taylor Yu authored
      Add a publish-subscribe subsystem to publish messages about changes to
      OR connections.
      
      connection_or_change_state() in connection_or.c and
      control_event_or_conn_event() in control.c publish messages to this
      subsystem via helper functions.
      
      Move state constants from connection_or.h to orconn_state.h so that
      subscribers don't have to include all of connection_or.h to take
      actions based on changes in OR connection state.  Move event constants
      from control.h for similar reasons.
      
      Part of ticket 27167.
      271b50f5
  2. Dec 20, 2018
  3. Dec 19, 2018
  4. Dec 18, 2018
Loading