]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Downgrade a harmless bug warning to info.
authorNick Mathewson <nickm@torproject.org>
Fri, 9 Dec 2016 13:43:09 +0000 (08:43 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 9 Dec 2016 13:43:09 +0000 (08:43 -0500)
Makes 19926 less annoying in 0.2.9.  In 0.3.0, we should actually
fix this.

changes/bug19926_029_info [new file with mode: 0644]
src/or/connection_edge.c

diff --git a/changes/bug19926_029_info b/changes/bug19926_029_info
new file mode 100644 (file)
index 0000000..93fd81b
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (logging):
+    - Downgrade a harmless log message about the pending_entry_connections
+      list from "warn" to "info". Mitigates bug 19926.
index 7b9c315a1132112d50105b6484a20a1d9c378b72..3550d0e2127c6f4c0cc807963619179f5d3e1bb8 100644 (file)
@@ -865,7 +865,9 @@ connection_ap_attach_pending(int retry)
       continue;
     }
     if (conn->state != AP_CONN_STATE_CIRCUIT_WAIT) {
-      log_warn(LD_BUG, "%p is no longer in circuit_wait. Its current state "
+      // XXXX 030 -- this is downgraded in 0.2.9, since we apparently
+      // XXXX are running into it in practice.  It's harmless.
+      log_info(LD_BUG, "%p is no longer in circuit_wait. Its current state "
                "is %s. Why is it on pending_entry_connections?",
                entry_conn,
                conn_state_to_string(conn->type, conn->state));