diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-17 15:20:00 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-17 15:20:00 +0000 |
commit | b713b370bfdd2be8f1456d11f7e087c9cf7cdee7 (patch) | |
tree | 2f9e2c06a9f0a042f56b06a96f66456fde68d07b /src/or/rendmid.c | |
parent | e3b1d059c7f17bf82cf9ac80a50642bb4db6dffe (diff) | |
download | tor-b713b370bfdd2be8f1456d11f7e087c9cf7cdee7.tar.gz tor-b713b370bfdd2be8f1456d11f7e087c9cf7cdee7.zip |
r9060@totoro: nickm | 2006-10-17 11:12:48 -0400
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)
svn:r8739
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index e96d608d59..740e5d0315 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -90,7 +90,7 @@ rend_mid_establish_intro(or_circuit_t *circ, const char *request, while ((c = circuit_get_intro_point(pk_digest))) { log_info(LD_REND, "Replacing old circuit for service %s", safe_str(serviceid)); - circuit_mark_for_close(TO_CIRCUIT(c), END_CIRC_REASON_REQUESTED); + circuit_mark_for_close(TO_CIRCUIT(c), END_CIRC_REASON_FINISHED); /* Now it's marked, and it won't be returned next time. */ } |