[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] if a relay cell is unrecognized at the end of the circuit,
- To: or-cvs@freehaven.net
- Subject: [or-cvs] if a relay cell is unrecognized at the end of the circuit,
- From: arma@seul.org (Roger Dingledine)
- Date: Fri, 27 Feb 2004 23:48:48 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 27 Feb 2004 23:49:04 -0500
- 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:
if a relay cell is unrecognized at the end of the circuit,
send back a destroy
Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- circuit.c 28 Feb 2004 03:06:31 -0000 1.140
+++ circuit.c 28 Feb 2004 04:48:46 -0000 1.141
@@ -439,7 +439,7 @@
if(!conn) {
log_fn(LOG_WARN,"Didn't recognize cell, but circ stops here! Dropping.");
- return 0; /* XXX if this warning never triggers, then return -1 */
+ return -1;
}
log_fn(LOG_DEBUG,"Passing on unrecognized cell.");