diff options
author | Roger Dingledine <arma@torproject.org> | 2003-06-13 09:59:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-06-13 09:59:33 +0000 |
commit | 9a33b59ece152692acf25c8e98bf5ec46e1474c0 (patch) | |
tree | 7d9fa49ebf2f2151a85f4cc5d5d3d3d467c64cb1 /src/or/circuit.c | |
parent | 1454f4aded3bb2b99d59d7f2bf1fb636403b17d8 (diff) | |
download | tor-9a33b59ece152692acf25c8e98bf5ec46e1474c0.tar tor-9a33b59ece152692acf25c8e98bf5ec46e1474c0.tar.gz |
relay queues are obsolete (woo!)
they used to be used for
* queueing relay cells at the edge of the network, when windows are empty
* queueing relay cells that arrive after an onion but before the onion
has been processed.
both of these uses are gone. so out they go.
svn:r315
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 0cb3f3e0c..13a5eaa6d 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -78,21 +78,11 @@ circuit_t *circuit_new(aci_t p_aci, connection_t *p_conn) { } void circuit_free(circuit_t *circ) { - struct relay_queue_t *tmpd; - if (circ->n_crypto) crypto_free_cipher_env(circ->n_crypto); if (circ->p_crypto) crypto_free_cipher_env(circ->p_crypto); - circuit_free_cpath(circ->cpath); - while(circ->relay_queue) { - tmpd = circ->relay_queue; - circ->relay_queue = tmpd->next; - free(tmpd->cell); - free(tmpd); - } - free(circ); } |