aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/connection.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2021-02-19 13:25:47 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2021-02-19 13:25:47 +0200
commitcf1f03fe1d2a3b6e500ef1bf716976d6c2d9f192 (patch)
treebba503726d24311d23c245360cd6207c6cff33fc /src/core/mainloop/connection.c
parente8cce1058c06e8f1bec486c9e49bc2e81243b672 (diff)
parent9f61d9238ce81444b988137508436255f275051d (diff)
downloadtor-cf1f03fe1d2a3b6e500ef1bf716976d6c2d9f192.tar.gz
tor-cf1f03fe1d2a3b6e500ef1bf716976d6c2d9f192.zip
Merge remote-tracking branch 'tor-gitlab/mr/308'
Diffstat (limited to 'src/core/mainloop/connection.c')
-rw-r--r--src/core/mainloop/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 5370ad899a..f90872ec22 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -5180,6 +5180,8 @@ connection_finished_flushing(connection_t *conn)
return connection_dir_finished_flushing(TO_DIR_CONN(conn));
case CONN_TYPE_CONTROL:
return connection_control_finished_flushing(TO_CONTROL_CONN(conn));
+ case CONN_TYPE_METRICS:
+ return metrics_connection_finished_flushing(conn);
default:
log_err(LD_BUG,"got unexpected conn type %d.", conn->type);
tor_fragile_assert();