[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.5] diagnostic for 12184: Add a call to channel_dump_statistics



commit 5d2045ee8ba42a294291b187234be6ead6864cab
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Jul 16 10:34:39 2014 +0200

    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(+)

diff --git a/changes/further-12184-diagnostic b/changes/further-12184-diagnostic
new file mode 100644
index 0000000..89e9f46
--- /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 e743a25..283afee 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;
     }
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits