Opened 7 years ago

Closed 7 years ago

#4827 closed defect (fixed)

vidalia should getinfo status/bootstrap-phase upon connecting to the control port

Reported by: arma Owned by: chiiph
Priority: Medium Milestone:
Component: Archived/Vidalia Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Vidalia currently connects to the Tor control port, authenticates, and waits for bootstrapping events. When it gets an event, it moves the bootstrap status bar forward.

But if Tor already has the directory info cached, then those events will get sent before Vidalia finishes authenticating. So Vidalia will miss them and it will wait for Tor to finish building a circuit but the bootstrap bar still says it's "authenticating to Tor".

Worse, if Tor somehow finishes bootstrapping before Vidalia finishes authenticating, Vidalia will *never* hear a bootstrap event, and it will never move to a green onion.

The fix is that Vidalia should do a 'getinfo status/bootstrap-phase' when it connects, and pretend it just got that event.

Child Tickets

Change History (2)

comment:1 Changed 7 years ago by chiiph

A fix for this is in chiiph/bootstrap_event. It has been merged for master and alpha.

comment:2 Changed 7 years ago by chiiph

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.