mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
fix a bug where we were never reporting the
"Finishing handshake with entry guard" bootstrap phase svn:r15087
This commit is contained in:
parent
6aeb79af06
commit
ac795353c4
@ -3906,10 +3906,10 @@ control_event_bootstrap(bootstrap_status_t status, int percent)
|
||||
if (last_percent == 100)
|
||||
return 0; /* already bootstrapped; nothing to be done here. */
|
||||
|
||||
/* special case for handshaking status, since our tls handshaking code
|
||||
/* special case for handshaking status, since our TLS handshaking code
|
||||
* can't distinguish what the connection is going to be for. */
|
||||
if (status == BOOTSTRAP_STATUS_HANDSHAKE) {
|
||||
if (last_percent < BOOTSTRAP_STATUS_HANDSHAKE_OR) {
|
||||
if (last_percent < BOOTSTRAP_STATUS_CONN_OR) {
|
||||
status = BOOTSTRAP_STATUS_HANDSHAKE_DIR;
|
||||
} else {
|
||||
status = BOOTSTRAP_STATUS_HANDSHAKE_OR;
|
||||
|
Loading…
Reference in New Issue
Block a user