From 15fdfc2993777497883df8945c1c9138bea2b33a Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Wed, 12 Dec 2012 11:53:18 -0800 Subject: Bug 7691: Send a probe cell down certain types of circs. In general, if we tried to use a circ for a stream, but then decided to place that stream on a different circuit, we need to probe the original circuit before deciding it was a "success". We also need to do the same for cannibalized circuits that go unused. --- src/or/circuitbuild.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/circuitbuild.h') diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index 029bdaa47d..b1cedecb94 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -60,7 +60,8 @@ const node_t *choose_good_entry_server(uint8_t purpose, double pathbias_get_extreme_rate(const or_options_t *options); int pathbias_get_dropguards(const or_options_t *options); void pathbias_count_timeout(origin_circuit_t *circ); -void pathbias_check_close(origin_circuit_t *circ, int reason); +int pathbias_check_close(origin_circuit_t *circ, int reason); +int pathbias_check_probe_response(circuit_t *circ, cell_t *cell); #endif -- cgit v1.2.3-54-g00ecf