]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix another rare bug: when we had tried all the intro tor-0.0.6incompat-merged
authorRoger Dingledine <arma@torproject.org>
Fri, 16 Apr 2004 14:35:28 +0000 (14:35 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 16 Apr 2004 14:35:28 +0000 (14:35 +0000)
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

src/or/rendclient.c

index aaa9e4bed165cc8eca82c51be88c07ee26fcfecb..7af0a03a73f63409dc388b6666c5b914e1011ebe 100644 (file)
@@ -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 */