summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-29 00:35:35 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-29 00:35:35 +0000
commit7cf33ed49570bfcaec974d73f49c00d2fea5f2b4 (patch)
tree8a25b67c943c4ebe339e127bc86dde9a651181f5
parentd858aeaf3cf27461cb9c17a0bff42f3477359471 (diff)
downloadtor-7cf33ed49570bfcaec974d73f49c00d2fea5f2b4.tar.gz
tor-7cf33ed49570bfcaec974d73f49c00d2fea5f2b4.zip
resolve another 'hasn't sent end yet' bug
svn:r3911
-rw-r--r--src/or/circuitlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 22ad5c9272..1f08f197f1 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -432,6 +432,7 @@ int _circuit_mark_for_close(circuit_t *circ) {
/* The other side will see a DESTROY, and infer that the connections
* are closing because the circuit is getting torn down. No need
* to send an end cell*/
+ conn->has_sent_end = 1; /* we're closing the circuit, nothing to send to */
connection_mark_for_close(conn);
}
}