[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] convince ourselves that circuit_failed doesn"t have to be a...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] convince ourselves that circuit_failed doesn"t have to be a...
- From: arma@seul.org (Roger Dingledine)
- Date: Wed, 7 Apr 2004 16:24:01 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 07 Apr 2004 16:24:16 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
circuit.c
Log Message:
convince ourselves that circuit_failed doesn't have to be any smarter
Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- circuit.c 7 Apr 2004 19:57:39 -0000 1.191
+++ circuit.c 7 Apr 2004 20:23:59 -0000 1.192
@@ -1140,19 +1140,22 @@
break;
case CIRCUIT_PURPOSE_S_ESTABLISH_INTRO:
/* at Bob, waiting for introductions */
- // remember this somewhere?
+ /* no need to care here, because bob will rebuild intro
+ * points periodically. */
break;
case CIRCUIT_PURPOSE_C_INTRODUCING:
/* at Alice, connecting to intro point */
- // alice needs to try another intro point
+ /* Alice will pick a new intro point when this one dies, if
+ * the stream in question still cares. No need to act here. */
break;
case CIRCUIT_PURPOSE_C_ESTABLISH_REND:
/* at Alice, waiting for Bob */
- // alice needs to pick a new rend point
+ /* Alice will pick a new rend point when this one dies, if
+ * the stream in question still cares. No need to act here. */
break;
case CIRCUIT_PURPOSE_S_CONNECT_REND:
/* at Bob, connecting to rend point */
- //
+ log_fn(LOG_INFO,"Couldn't connect to Alice's chosen rend point %s. Sucks to be Alice.", circ->build_state->chosen_exit);
break;
}
}