diff options
author | teor <teor@torproject.org> | 2019-03-14 06:41:14 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-03-14 06:41:14 +1000 |
commit | 5606cfae472a4e49d07bb14f4dfa336a8ded3930 (patch) | |
tree | 47689e7a004256bb27ba5df714447d58982fd823 /src/or/relay.c | |
parent | 155b0f5521b12c17d7e5b500c6aa7ed20fcacc12 (diff) | |
parent | e91b999cf2dfbb250cbf6c674ea01d7cee518092 (diff) | |
download | tor-5606cfae472a4e49d07bb14f4dfa336a8ded3930.tar.gz tor-5606cfae472a4e49d07bb14f4dfa336a8ded3930.zip |
Merge remote-tracking branch 'tor-github/pr/771' into maint-0.3.4
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 497afe756a..b6886e2bb8 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1729,6 +1729,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, } if (circ->n_chan) { uint8_t trunc_reason = get_uint8(cell->payload + RELAY_HEADER_SIZE); + circuit_synchronize_written_or_bandwidth(circ, CIRCUIT_N_CHAN); circuit_clear_cell_queue(circ, circ->n_chan); channel_send_destroy(circ->n_circ_id, circ->n_chan, trunc_reason); |