[tor-bugs] #24486 [Core Tor/Tor]: Retry bridge descriptor downloads on application activity

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 1 22:32:04 UTC 2017


#24486: Retry bridge descriptor downloads on application activity
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.2.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.2.1-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  regression, tor-bridge-client,       |  Actual Points:
  s8-errors                                      |
Parent ID:  #24367                               |         Points:  0.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 We want to handle this case better:
 {{{
 diff --git a/src/or/circuituse.c b/src/or/circuituse.c
 index aa0df95..8c9859b 100644
 --- a/src/or/circuituse.c
 +++ b/src/or/circuituse.c
 @@ -2084,7 +2084,7 @@ circuit_get_open_circ_or_launch(entry_connection_t
 *conn,
                 "used client functionality lately" :
                 "received a consensus with exits",
                 options->UseBridges ? "bridges" : "entrynodes");
 -      } else if (!options->UseBridges || any_bridge_descriptors_known())
 {
 +      } else if (!options->UseBridges || num_bridges_usable() > 0) {
          log_fn(severity, LD_APP|LD_DIR,
                 "Application request when we haven't %s. "
                 "Optimistically trying directory fetches again.",
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24486#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list