summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2009-05-14 05:20:27 -0700
committerNick Mathewson <nickm@torproject.org>2009-05-14 17:52:26 -0400
commit29bf271ba2deb9714f515e03a9674ac43b9d7156 (patch)
treef2cd5fcebf52f67ab26865429b3582d4165c472f /src/or/connection.c
parent45171cd9e9cb492bd64a1251dcd7758cab686f4b (diff)
downloadtor-29bf271ba2deb9714f515e03a9674ac43b9d7156.tar.gz
tor-29bf271ba2deb9714f515e03a9674ac43b9d7156.zip
Fix misreporting of stream bandwidths.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 3a01c28652..15a7110428 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -618,6 +618,7 @@ connection_about_to_close_connection(connection_t *conn)
conn->marked_for_close_file, conn->marked_for_close);
dnsserv_reject_request(edge_conn);
}
+ control_event_stream_bandwidth(edge_conn);
control_event_stream_status(edge_conn, STREAM_EVENT_CLOSED,
edge_conn->end_reason);
circ = circuit_get_by_edge_conn(edge_conn);