Kaynağa Gözat

nick, can you make and send the rendezvous cookie?

svn:r1467
Roger Dingledine 21 yıl önce
ebeveyn
işleme
86f2ddc88d
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      src/or/circuit.c

+ 5 - 1
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: