tor/doc
Roger Dingledine d66549c208 fetch missing bridge descriptors without delay
Without this change, if we have a working bridge, and we add a new bridge,
we will schedule the fetch attempt for that new bridge descriptor for
three hours(!) in the future.

This change is especially needed because of bug #40396, where if you have
one working bridge and one bridge whose descriptor you haven't fetched
yet, your Tor will stall until you have successfully fetched that new
descriptor -- in this case for hours.

In the old design, we would put off all further bridge descriptor fetches
once we had any working bridge descriptor. In this new design, we make the
decision per bridge based on whether we successfully got *its* descriptor.

To make this work, we need to also call learned_bridge_descriptor() every
time we get a bridge descriptor, not just when it's a novel descriptor.

Fixes bug 40396.

Also happens to fix bug 40495 (redundant descriptor fetches for every
bridge) since now we delay fetches once we succeed.

A side effect of this change is that if we have any configured bridges
that *aren't* working, we will keep trying to fetch their descriptors
on the modern directory retry schedule -- every couple of seconds for
the first half minute, then backing off after that -- which is a lot
faster than before.
2021-10-24 17:40:28 -04:00
..
contrib Bug 31812: Change http URL's to https 2020-07-13 10:42:46 -04:00
HACKING Remove last artifacts of Rust related code 2021-10-06 15:12:04 -04:00
man fetch missing bridge descriptors without delay 2021-10-24 17:40:28 -04:00
asciidoc-helper.sh Clear asciidoc-helper.sh syntax 2021-09-08 22:32:46 +02:00
building-tor-msvc.txt Bug 31812: Change http URL's to https 2020-07-13 10:42:46 -04:00
include.am rust: Remove Rust support from tree 2021-10-06 15:12:04 -04:00
state-contents.txt state-contents: correcct the description of unusable_circuits 2020-09-22 16:51:26 -04:00
ticket40136 Add a changes file for 40136 (state-contents.txt updates) 2020-09-22 14:46:41 -04:00
tor-doxygen.css Doxygen: provide a style sheet 2019-11-05 13:50:01 -05:00
torrc_format.txt Fix torrc-format documentation corner cases 2017-09-12 16:32:56 -04:00
TUNING Fix typos. 2020-11-12 11:44:09 -05:00