aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-03 04:05:30 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-03 04:05:30 +0000
commit86f2ddc88de3fb240cb2deb44d035a45328622b7 (patch)
tree80ec7dc9ae004e530b50fcc12be65f1f41491fa5
parentb3c2b62a14cdc6511b148dc048463674453b52fd (diff)
downloadtor-86f2ddc88de3fb240cb2deb44d035a45328622b7.tar
tor-86f2ddc88de3fb240cb2deb44d035a45328622b7.tar.gz
nick, can you make and send the rendezvous cookie?
svn:r1467
-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: