aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-07-21 00:34:58 -0400
committerRoger Dingledine <arma@torproject.org>2011-07-21 00:34:58 -0400
commitd017cd67ff89b4049b19e5f375b691bc7c529088 (patch)
tree6d77071f89b5a10824f57df0226753180ce09db3 /src
parent2c98104c7410e859e68a8e9e7b82f9af7595c921 (diff)
downloadtor-d017cd67ff89b4049b19e5f375b691bc7c529088.tar
tor-d017cd67ff89b4049b19e5f375b691bc7c529088.tar.gz
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.)
Diffstat (limited to 'src')
-rw-r--r--src/or/circuituse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index c48020115..91f75733a 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -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;