diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-02-28 04:25:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-02-28 04:25:54 +0000 |
commit | ee68371f41def2fff7ef92f715c858bbe1b36c2f (patch) | |
tree | cfa4fe3a9b78439e8a7c008e72de7ad4c08065ad /src/or/connection_edge.c | |
parent | 4e89c6661aefc78417d0ac152a824c5ae4d9eb7d (diff) | |
download | tor-ee68371f41def2fff7ef92f715c858bbe1b36c2f.tar tor-ee68371f41def2fff7ef92f715c858bbe1b36c2f.tar.gz |
Stop answering "end" with "end"
svn:r1150
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 3a8f81b1d..08cf97144 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -308,7 +308,9 @@ int connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, connection connection_mark_for_close(conn, END_STREAM_REASON_DONE); } #else - connection_mark_for_close(conn, END_STREAM_REASON_DONE); + /* We just *got* an end; no reason to send one. */ + conn->has_sent_end = 1; + connection_mark_for_close(conn, 0); #endif return 0; case RELAY_COMMAND_EXTEND: |