瀏覽代碼

Mention the purpose field for leaked circuits.

Mike Perry 14 年之前
父節點
當前提交
5dbf99d9ff
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/or/circuituse.c

+ 3 - 2
src/or/circuituse.c

@@ -733,9 +733,10 @@ circuit_expire_old_circuits_clientside(time_t now)
         } else if (!TO_ORIGIN_CIRCUIT(circ)->is_ancient) {
           log_notice(LD_CIRC,
                      "Ancient non-dirty circuit %d is still around after "
-                     "%ld seconds.",
+                     "%ld seconds. Purpose: %d",
                      TO_ORIGIN_CIRCUIT(circ)->global_identifier,
-                     now - circ->timestamp_created);
+                     now - circ->timestamp_created,
+                     circ->purpose);
           TO_ORIGIN_CIRCUIT(circ)->is_ancient = 1;
         }
       }