diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-09 15:47:27 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-09 15:47:27 +0000 |
commit | b76fd968b4d2deddf2f40f63dc04713f45649c68 (patch) | |
tree | 7fc3e02f66375ba7c0513709b4bcc2de0a06bdec /src/or/rendservice.c | |
parent | 17abfa6a6afa352ea5fcb0eddbc4539cd96e448c (diff) | |
download | tor-b76fd968b4d2deddf2f40f63dc04713f45649c68.tar.gz tor-b76fd968b4d2deddf2f40f63dc04713f45649c68.zip |
r8972@totoro: nickm | 2006-10-09 10:36:22 -0400
Patch from Mike Perry: add a REASON field to closed and failed circ events.
svn:r8671
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 1af99df90d..408c1e8bfa 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -612,7 +612,7 @@ rend_service_introduce(origin_circuit_t *circuit, const char *request, err: if (dh) crypto_dh_free(dh); if (launched) - circuit_mark_for_close(TO_CIRCUIT(launched), END_CIRC_AT_ORIGIN); + circuit_mark_for_close(TO_CIRCUIT(launched), END_CIRC_REASON_TORPROTOCOL); if (extend_info) extend_info_free(extend_info); return -1; } @@ -763,7 +763,7 @@ rend_service_intro_has_opened(origin_circuit_t *circuit) return; err: - circuit_mark_for_close(TO_CIRCUIT(circuit), END_CIRC_AT_ORIGIN); + circuit_mark_for_close(TO_CIRCUIT(circuit), END_CIRC_REASON_TORPROTOCOL); } /** Called when we get an INTRO_ESTABLISHED cell; mark the circuit as a @@ -793,7 +793,7 @@ rend_service_intro_established(origin_circuit_t *circuit, const char *request, return 0; err: - circuit_mark_for_close(TO_CIRCUIT(circuit), END_CIRC_AT_ORIGIN); + circuit_mark_for_close(TO_CIRCUIT(circuit), END_CIRC_REASON_TORPROTOCOL); return -1; } @@ -869,7 +869,7 @@ rend_service_rendezvous_has_opened(origin_circuit_t *circuit) return; err: - circuit_mark_for_close(TO_CIRCUIT(circuit), END_CIRC_AT_ORIGIN); + circuit_mark_for_close(TO_CIRCUIT(circuit), END_CIRC_REASON_TORPROTOCOL); } /* |