mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Let AP edges receive 'end' relay cells while waiting for 'connected'
svn:r1012
This commit is contained in:
parent
3516ae1a26
commit
deda0d93dd
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ int connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, connection
|
|||
* conn points to the recognized stream. */
|
||||
|
||||
if(conn && conn->state != AP_CONN_STATE_OPEN && conn->state != EXIT_CONN_STATE_OPEN) {
|
||||
if(conn->type == CONN_TYPE_EXIT && rh.command == RELAY_COMMAND_END) {
|
||||
if(rh.command == RELAY_COMMAND_END) {
|
||||
log_fn(LOG_INFO,"Exit got end (%s) before we're connected. Marking for close.",
|
||||
connection_edge_end_reason(cell->payload+RELAY_HEADER_SIZE, rh.length));
|
||||
if(conn->state == EXIT_CONN_STATE_RESOLVING) {
|
||||
|
|
Loading…
Add table
Reference in a new issue