aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorpotentiate <potentiate@netherworld.(none)>2009-05-14 05:20:27 -0700
committerNick Mathewson <nickm@torproject.org>2009-05-14 17:50:06 -0400
commit1b61c8bf377759345e761b0e7bac35c9fbf52f61 (patch)
tree44acec708f96c8e20dd5f7ee3be96868bc8b7169 /src/or/connection.c
parent479d21254ac49f6493087ce1385bcfe8d84476d4 (diff)
downloadtor-1b61c8bf377759345e761b0e7bac35c9fbf52f61.tar.gz
tor-1b61c8bf377759345e761b0e7bac35c9fbf52f61.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 7b14f7550a..17cfdcba82 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -611,6 +611,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);