resolve another 'hasn't sent end yet' bug

svn:r3911
This commit is contained in:
Roger Dingledine 2005-03-29 00:35:35 +00:00
parent d858aeaf3c
commit 7cf33ed495

View file

@ -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);
}
}