Merge branch 'maint-0.4.5'

This commit is contained in:
Nick Mathewson
2021-02-08 14:28:19 -05:00
5 changed files with 51 additions and 8 deletions
+2
View File
@@ -5235,6 +5235,8 @@ connection_reached_eof(connection_t *conn)
return connection_dir_reached_eof(TO_DIR_CONN(conn));
case CONN_TYPE_CONTROL:
return connection_control_reached_eof(TO_CONTROL_CONN(conn));
case CONN_TYPE_METRICS:
return metrics_connection_reached_eof(conn);
default:
log_err(LD_BUG,"got unexpected conn type %d.", conn->type);
tor_fragile_assert();