diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-05-17 09:04:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-05-17 09:04:22 -0400 |
commit | 61f847d4bd5c2e807416705e614b062395554b1a (patch) | |
tree | 3fed7fcee521a1799092f2345c0fc986568e0220 | |
parent | 9521c3e7be337c1a48098edc5c36a01369d36791 (diff) | |
parent | 5f009a59dab69f4e46572e2ef4fd40b1bb053d67 (diff) | |
download | tor-61f847d4bd5c2e807416705e614b062395554b1a.tar.gz tor-61f847d4bd5c2e807416705e614b062395554b1a.zip |
Merge branch 'maint-0.4.5' into release-0.4.5
-rw-r--r-- | changes/ticket40370 | 4 | ||||
-rw-r--r-- | src/core/mainloop/connection.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/changes/ticket40370 b/changes/ticket40370 new file mode 100644 index 0000000000..fcdb0eb173 --- /dev/null +++ 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 index ada542629a..c827af7a9a 100644 --- a/src/core/mainloop/connection.c +++ b/src/core/mainloop/connection.c @@ -4944,6 +4944,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; |