mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
d5a151a067
This unifies CircuitIdleTimeout and PredictedCircsRelevanceTime into a single option, and randomizes it. It also gives us control over the default value as well as relay-to-relay connection lifespan through the consensus. Conflicts: src/or/circuituse.c src/or/config.c src/or/main.c src/test/testing_common.c
14 lines
879 B
Plaintext
14 lines
879 B
Plaintext
o Minor bugfixes (connection lifespan)
|
|
- Allow more control over how long TLS connections are kept open: unify
|
|
CircuitIdleTimeout and PredictedPortsRelevanceTime into a single option
|
|
called CircuitsAvailableTimeout. Also, allow the consensus to control
|
|
the default values for both this preference, as well as the lifespan
|
|
of relay-to-relay connections. Fixes bug #17592.
|
|
- Increase the intial circuit build timeout testing frequency, to help
|
|
ensure that ReducedConnectionPadding clients finish learning a timeout
|
|
before their orconn would expire. The initial testing rate was set back
|
|
in the days of TAP and before the Tor Browser updater, when we had to be
|
|
much more careful about new clients making lots of circuits. With this
|
|
change, a circuit build time is learned in about 15-20 minutes, instead
|
|
of ~100-120 minutes.
|