mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
stop the circuit_receive_relay_cell warning
mark the circ for close if circuit_extend fails because the next hop is not up yet; don't just return -1 svn:r1765
This commit is contained in:
parent
bdbe0eb7bc
commit
bbbc063ed9
@ -1585,7 +1585,8 @@ int circuit_extend(cell_t *cell, circuit_t *circ) {
|
||||
NULL, 0, NULL);
|
||||
return 0;
|
||||
#endif
|
||||
return -1;
|
||||
circuit_mark_for_close(circ);
|
||||
return 0;
|
||||
}
|
||||
|
||||
circ->n_addr = n_conn->addr; /* these are different if we found a twin instead */
|
||||
|
Loading…
Reference in New Issue
Block a user