mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
bugfix: if you recognize a relay cell, don't also pass it on.
svn:r816
This commit is contained in:
parent
b5e84e24ae
commit
f5089681f7
@ -258,6 +258,7 @@ int circuit_deliver_relay_cell(cell_t *cell, circuit_t *circ,
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
++stats_n_relay_cells_relayed;
|
||||
|
@ -200,7 +200,7 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) {
|
||||
return;
|
||||
}
|
||||
|
||||
log_fn(LOG_DEBUG,"Received for circIDD %d.",cell->circ_id);
|
||||
log_fn(LOG_DEBUG,"Received for circID %d.",cell->circ_id);
|
||||
if(circ->state == CIRCUIT_STATE_ONIONSKIN_PENDING) {
|
||||
onion_pending_remove(circ);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user