summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-07-16 10:34:39 +0200
committerNick Mathewson <nickm@torproject.org>2014-07-16 10:34:39 +0200
commit5d2045ee8ba42a294291b187234be6ead6864cab (patch)
tree480ccf3b6fa50dee04f087f9453a2a28ba0e339d
parent32495ee3099c3fb512a986a8e5db32ebf153b439 (diff)
downloadtor-5d2045ee8ba42a294291b187234be6ead6864cab.tar.gz
tor-5d2045ee8ba42a294291b187234be6ead6864cab.zip
diagnostic for 12184: Add a call to channel_dump_statistics
-rw-r--r--changes/further-12184-diagnostic2
-rw-r--r--src/or/circuitbuild.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/changes/further-12184-diagnostic b/changes/further-12184-diagnostic
new file mode 100644
index 0000000000..89e9f4612f
--- /dev/null
+++ b/changes/further-12184-diagnostic
@@ -0,0 +1,2 @@
+ o Minor features (diagnostic):
+ - Slightly enhance the diagnostic message for bug 12184.
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index e743a25f48..283afee31f 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -183,6 +183,8 @@ get_unique_circ_id_by_chan(channel_t *chan)
if (0)
circuitmux_assert_okay(chan->cmux);
+ channel_dump_statistics(chan, LOG_WARN);
+
return 0;
}