commit af560f21ece5a7b077bf289d07f9a41163d915c4 parent d4718e4db9779ba11baf7ee07e093d0c9e6f6bae Author: Nick Mathewson <nickm@torproject.org> Date: Mon, 17 May 2021 09:04:22 -0400 Merge branch 'maint-0.4.6' Diffstat:
| A | changes/ticket40370 | | | 4 | ++++ |
| M | src/core/mainloop/connection.c | | | 1 | + |
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/changes/ticket40370 b/changes/ticket40370 @@ -0,0 +1,4 @@ + o Minor bugfix (metrics port): + - Fix a bug that made tor try to re-bind() every 60 seconds on an already + open MetricsPort. Fixes bug 40370; bugfix on 0.4.5.1-alpha. + diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c @@ -4943,6 +4943,7 @@ connection_is_listener(connection_t *conn) conn->type == CONN_TYPE_AP_NATD_LISTENER || conn->type == CONN_TYPE_AP_HTTP_CONNECT_LISTENER || conn->type == CONN_TYPE_DIR_LISTENER || + conn->type == CONN_TYPE_METRICS_LISTENER || conn->type == CONN_TYPE_CONTROL_LISTENER) return 1; return 0;