]> git.ipfire.org Git - thirdparty/tor.git/commit
The big bootstrap phase redefinition
authorTaylor Yu <catalyst@torproject.org>
Mon, 17 Dec 2018 15:31:16 +0000 (09:31 -0600)
committerNick Mathewson <nickm@torproject.org>
Fri, 21 Dec 2018 19:15:35 +0000 (14:15 -0500)
commit85542ee5a0b37bf5b572b9beeda3cb8038ecd88e
treeb89e4f059e60abbfe6cc71448e3a48c20f3cd7b7
parent936c93e562deaba62f0d32f7e7fda770c5604318
The big bootstrap phase redefinition

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.
src/feature/control/btrack_orconn_cevent.c
src/feature/control/control.h
src/feature/control/control_bootstrap.c
src/feature/nodelist/nodelist.c
src/test/test_controller_events.c