mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
remember our future plan for bug 3617
(that is, to change the default for "UseOptimisticData auto" to 1 once we are more convinced that it works correctly.)
This commit is contained in:
parent
2c98104c74
commit
d017cd67ff
@ -1555,6 +1555,8 @@ optimistic_data_enabled(void)
|
||||
{
|
||||
const or_options_t *options = get_options();
|
||||
if (options->OptimisticData < 0) {
|
||||
/* XXX023 consider having auto default to 1 rather than 0 before
|
||||
* the 0.2.3 branch goes stable. See bug 3617. -RD */
|
||||
const int32_t enabled =
|
||||
networkstatus_get_param(NULL, "UseOptimisticData", 0, 0, 1);
|
||||
return (int)enabled;
|
||||
|
Loading…
Reference in New Issue
Block a user