diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-01-05 21:23:03 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-01-05 21:23:03 +0000 |
commit | 878962bee11eb47042d49ebd7df0d18d403c98c0 (patch) | |
tree | 04b1c7ef50ea43a81b1b2b3536fb5b00584d88ed /src/or/rendservice.c | |
parent | d8e3bc02884cfb85f113e44c9f61a1035789f0bc (diff) | |
download | tor-878962bee11eb47042d49ebd7df0d18d403c98c0.tar.gz tor-878962bee11eb47042d49ebd7df0d18d403c98c0.zip |
Add reasons to DESTROY and RELAY_TRUNCATED cells.
svn:r5734
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 81762c43a5..85da116038 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -605,7 +605,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, return 0; err: if (dh) crypto_dh_free(dh); - if (launched) circuit_mark_for_close(launched); + if (launched) circuit_mark_for_close(launched, END_CIRC_AT_ORIGIN); if (extend_info) extend_info_free(extend_info); return -1; } @@ -751,7 +751,7 @@ rend_service_intro_has_opened(circuit_t *circuit) return; err: - circuit_mark_for_close(circuit); + circuit_mark_for_close(circuit, END_CIRC_AT_ORIGIN); } /** Called when we get an INTRO_ESTABLISHED cell; mark the circuit as a @@ -778,7 +778,7 @@ rend_service_intro_established(circuit_t *circuit, const char *request, return 0; err: - circuit_mark_for_close(circuit); + circuit_mark_for_close(circuit, END_CIRC_AT_ORIGIN); return -1; } @@ -852,7 +852,7 @@ rend_service_rendezvous_has_opened(circuit_t *circuit) return; err: - circuit_mark_for_close(circuit); + circuit_mark_for_close(circuit, END_CIRC_AT_ORIGIN); } /* |