From e50fa0d6cb467e8f6d41995eb6d03d74e9f64e04 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 3 Oct 2012 20:17:37 -0400 Subject: Refuse extra create cells with reason "resource limit" In the past we had used reason "internal", which is more vague than it needs to be. Resolves bug 7037. --- src/or/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or') diff --git a/src/or/command.c b/src/or/command.c index abf664c1e2..d8a409bc27 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -428,7 +428,7 @@ command_process_create_cell(cell_t *cell, or_connection_t *conn) log_warn(LD_GENERAL,"Failed to hand off onionskin. Closing.%s",m); tor_free(m); } - circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_INTERNAL); + circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_RESOURCELIMIT); return; } log_debug(LD_OR,"success: handed off onionskin."); -- cgit v1.2.3-54-g00ecf