From 86f2ddc88de3fb240cb2deb44d035a45328622b7 Mon Sep 17 00:00:00 2001
From: Roger Dingledine <arma@torproject.org>
Date: Sat, 3 Apr 2004 04:05:30 +0000
Subject: nick, can you make and send the rendezvous cookie?

svn:r1467
---
 src/or/circuit.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src')

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:
-- 
cgit v1.2.3