diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-12-06 03:46:02 -0800 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-12-09 11:28:33 -0500 |
commit | 7b6b2d5fb8c760a506a052aa0fba7ba6a8fe4e77 (patch) | |
tree | f2ad869a659b5b5f2dfeb1c96ab4abcc45c7d44e /src/or/circuituse.h | |
parent | 7a76994d62a6ab1f1a3f9c7e96a097d0dbd4bc05 (diff) | |
download | tor-7b6b2d5fb8c760a506a052aa0fba7ba6a8fe4e77.tar.gz tor-7b6b2d5fb8c760a506a052aa0fba7ba6a8fe4e77.zip |
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.
Diffstat (limited to 'src/or/circuituse.h')
-rw-r--r-- | src/or/circuituse.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |