TCA reports an error in case of slow connection
closes #18299 (closed)
This MR depends on !422 (merged)
This implements these changes to the timeout thing:
- if we don't reach bootstrap_phase = 10 (meaning we can establish no connection to any Tor relay) in 30 seconds, we consider this an error
- after reaching bootstrap_phase=10, we wait for 120seconds for bootstrap to be completed. Otherwise, we consider this an error.
Tips for testing:
- https://paste.debian.net/1196989/ ready-made script to make both upstream and downstream slow
Edited by boyska