mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Stop answering "end" with "end"
svn:r1150
This commit is contained in:
parent
4e89c6661a
commit
ee68371f41
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue