Procházet zdrojové kódy

diagnostic for 12184: Add a call to channel_dump_statistics

Nick Mathewson před 11 roky
rodič
revize
5d2045ee8b
2 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 2 0
      changes/further-12184-diagnostic
  2. 2 0
      src/or/circuitbuild.c

+ 2 - 0
changes/further-12184-diagnostic

@@ -0,0 +1,2 @@
+  o Minor features (diagnostic):
+    - Slightly enhance the diagnostic message for bug 12184.

+ 2 - 0
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;
     }