mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
call circuit_build_failed() even when the failure is immediate
svn:r1617
This commit is contained in:
parent
ddd45a7c0a
commit
465f0e528a
@ -969,7 +969,7 @@ int _circuit_mark_for_close(circuit_t *circ) {
|
||||
* links worked and which didn't.
|
||||
*/
|
||||
if (circ->state != CIRCUIT_STATE_OPEN) {
|
||||
if(circ->cpath) //XXX
|
||||
if(CIRCUIT_IS_ORIGIN(circ))
|
||||
circuit_build_failed(circ); /* take actions if necessary */
|
||||
circuit_rep_hist_note_result(circ);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user