diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2023-02-15 19:47:52 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2023-04-06 15:57:11 +0000 |
commit | 8d4781e730b3e6c543add3e9acf4eff118bffa70 (patch) | |
tree | e8444a3d6459ac584bcf320d4ae28980a1640ab6 /src/test/fakecircs.c | |
parent | 39c2927d6fffc391bcd724bfddf8b90ac765e145 (diff) | |
download | tor-8d4781e730b3e6c543add3e9acf4eff118bffa70.tar.gz tor-8d4781e730b3e6c543add3e9acf4eff118bffa70.zip |
Prop#329 Tests: Add tests for the conflux pool
Diffstat (limited to 'src/test/fakecircs.c')
-rw-r--r-- | src/test/fakecircs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/fakecircs.c b/src/test/fakecircs.c index caeacd84ef..e52df022d0 100644 --- a/src/test/fakecircs.c +++ b/src/test/fakecircs.c @@ -17,6 +17,9 @@ #include "core/or/circuitbuild.h" #include "core/or/circuitlist.h" #include "core/or/circuitpadding.h" +#include "core/or/congestion_control_common.h" +#include "core/or/conflux_pool.h" +#include "core/or/conflux.h" #include "core/or/crypt_path.h" #include "core/or/relay.h" #include "core/or/relay_crypto_st.h" @@ -87,5 +90,8 @@ free_fake_orcirc(or_circuit_t *orcirc) circuitmux_detach_circuit(circ->n_chan->cmux, circ); } + conflux_circuit_about_to_free(circ); + congestion_control_free(circ->ccontrol); + tor_free_(circ); } |