From 7b6b2d5fb8c760a506a052aa0fba7ba6a8fe4e77 Mon Sep 17 00:00:00 2001 From: Robert Ransom Date: Tue, 6 Dec 2011 03:46:02 -0800 Subject: Refactor stream attachment in circuit_has_opened Put the 'try attaching streams, clear isolation state if possible, retry attaching streams' loop in its own separate function, where it belongs. --- src/or/circuituse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/circuituse.h') diff --git a/src/or/circuituse.h b/src/or/circuituse.h index 9867fd8205..bc11fe5d91 100644 --- a/src/or/circuituse.h +++ b/src/or/circuituse.h @@ -29,6 +29,7 @@ void reset_bandwidth_test(void); int circuit_enough_testing_circs(void); void circuit_has_opened(origin_circuit_t *circ); +void circuit_try_attaching_streams(origin_circuit_t *circ); void circuit_build_failed(origin_circuit_t *circ); /** Flag to set when a circuit should have only a single hop. */ -- cgit v1.2.3-54-g00ecf