From 5d2045ee8ba42a294291b187234be6ead6864cab Mon Sep 17 00:00:00 2001
From: Nick Mathewson <nickm@torproject.org>
Date: Wed, 16 Jul 2014 10:34:39 +0200
Subject: [PATCH] diagnostic for 12184: Add a call to channel_dump_statistics

---
 changes/further-12184-diagnostic | 2 ++
 src/or/circuitbuild.c            | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100644 changes/further-12184-diagnostic

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;
     }
 
-- 
GitLab