mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
it wouldn't return when the next router isn't up, leading to later seg fault
i'm going to take a shower, and then solve the deadlocking problem mat found svn:r38
This commit is contained in:
parent
db15776bdd
commit
391d23c428
@ -101,6 +101,7 @@ void command_process_create_cell(cell_t *cell, connection_t *conn) {
|
||||
*/
|
||||
log(LOG_DEBUG,"command_process_create_cell(): Next router not connected. Closing.");
|
||||
circuit_close(circ);
|
||||
return;
|
||||
}
|
||||
circ->n_conn = n_conn;
|
||||
log(LOG_DEBUG,"command_process_create_cell(): n_conn is %s:%u",n_conn->address,ntohs(n_conn->port));
|
||||
|
Loading…
Reference in New Issue
Block a user