diff options
author | potentiate <potentiate@netherworld.(none)> | 2009-05-14 05:20:27 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-14 17:50:06 -0400 |
commit | 1b61c8bf377759345e761b0e7bac35c9fbf52f61 (patch) | |
tree | 44acec708f96c8e20dd5f7ee3be96868bc8b7169 /src/or/connection_edge.c | |
parent | 479d21254ac49f6493087ce1385bcfe8d84476d4 (diff) | |
download | tor-1b61c8bf377759345e761b0e7bac35c9fbf52f61.tar.gz tor-1b61c8bf377759345e761b0e7bac35c9fbf52f61.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 f4585d89a9..eff20bd139 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; |