summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-16 14:35:28 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-16 14:35:28 +0000
commitf36d7b8fea2b6b5dfb94c8d5ca85bccbac09a7a1 (patch)
tree355e7e011a1510012b1dfcb7b74208bc4500161e
parented24a4f8073b84253ff1501789d14abbdecf7a06 (diff)
downloadtor-0.0.6incompat-merged.tar.gz
tor-0.0.6incompat-merged.zip
fix another rare bug: when we had tried all the introtor-0.0.6incompat-merged
points for a hidden service, we fetched the descriptor again, but we left our introcirc thinking it had already sent an intro, so it kept waiting for a response... svn:r1644
-rw-r--r--src/or/rendclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index aaa9e4bed1..7af0a03a73 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -229,7 +229,8 @@ rend_client_introduction_acked(circuit_t *circ,
}
/* Either we have no service desc, or all the intro points in that
* descriptor failed. So re-fetch the descriptor and try again. */
- /* XXXX What do we do to this circ in the meantime? */
+ circ->purpose = CIRCUIT_PURPOSE_C_INTRODUCING;
+ /* XXX anything else we need to do to circ? */
/* Refetch descriptor */
if(!connection_get_by_type_rendquery(CONN_TYPE_DIR, circ->rend_query)) {
/* not one already; initiate a dir rend desc lookup */