aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/circuit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index 188d75fd8..707cf7d82 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -1054,11 +1054,15 @@ static void circuit_is_ready(circuit_t *circ) {
case CIRCUIT_PURPOSE_C_GENERAL:
/* Tell any AP connections that have been waiting for a new
* circuit that one is ready. */
+ connection_ap_attach_pending();
+ break;
case CIRCUIT_PURPOSE_C_INTRODUCING:
/* at Alice, connecting to intro point */
+ connection_ap_attach_pending();
+ break;
case CIRCUIT_PURPOSE_C_ESTABLISH_REND:
/* at Alice, waiting for Bob */
-
+ /* XXXNM make and send the rendezvous cookie, and store it in circ */
connection_ap_attach_pending();
break;
case CIRCUIT_PURPOSE_S_ESTABLISH_INTRO: