diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2009-05-14 05:20:27 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-14 17:52:26 -0400 |
commit | 29bf271ba2deb9714f515e03a9674ac43b9d7156 (patch) | |
tree | f2cd5fcebf52f67ab26865429b3582d4165c472f /src/or/connection_edge.c | |
parent | 45171cd9e9cb492bd64a1251dcd7758cab686f4b (diff) | |
download | tor-29bf271ba2deb9714f515e03a9674ac43b9d7156.tar.gz tor-29bf271ba2deb9714f515e03a9674ac43b9d7156.zip |
Fix misreporting of stream bandwidths.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index b350c08d29..f7b4e3579c 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -160,6 +160,7 @@ connection_edge_destroy(circid_t circ_id, edge_connection_t *conn) "CircID %d: At an edge. Marking connection for close.", circ_id); if (conn->_base.type == CONN_TYPE_AP) { connection_mark_unattached_ap(conn, END_STREAM_REASON_DESTROY); + control_event_stream_bandwidth(conn); control_event_stream_status(conn, STREAM_EVENT_CLOSED, END_STREAM_REASON_DESTROY); conn->end_reason |= END_STREAM_REASON_FLAG_ALREADY_SENT_CLOSED; |