summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-04-07 15:15:54 -0400
committerNick Mathewson <nickm@torproject.org>2015-04-07 15:15:54 -0400
commit202bbfbaa4768ca34dbdff4931506823aa23f626 (patch)
treeff672bde368ce8ec48df3cc736477aebf0f46822
parentedde1a7844f6c0e3aafd8463edc3c10f486eb51c (diff)
parentfda2aa7703b05074a4d5d433ac5e8411e695d897 (diff)
downloadtor-202bbfbaa4768ca34dbdff4931506823aa23f626.tar.gz
tor-202bbfbaa4768ca34dbdff4931506823aa23f626.zip
Merge branch 'bug15604_squashed'
-rw-r--r--changes/bug156047
-rw-r--r--src/or/config.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/changes/bug15604 b/changes/bug15604
new file mode 100644
index 0000000000..de293800f1
--- /dev/null
+++ b/changes/bug15604
@@ -0,0 +1,7 @@
+ o Minor bugfixes
+ - Disregard the ConnDirectionStatistics torrc options when Tor is
+ not a relay since in that mode of operation no sensible data is
+ being collected and because Tor might run into measurement hiccups
+ when running as a client for some time, then becoming a relay. Fixes
+ bug 15604; bugfix on 0.2.2.35.
+
diff --git a/src/or/config.c b/src/or/config.c
index e1096300d5..d7444d52f6 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1736,6 +1736,7 @@ options_act(const or_options_t *old_options)
if (!public_server_mode(options)) {
options->CellStatistics = 0;
options->EntryStatistics = 0;
+ options->ConnDirectionStatistics = 0;
options->HiddenServiceStatistics = 0;
options->ExitPortStatistics = 0;
}