mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
END_CIRC_REASON_OR_IDENTITY apparently means that we were told to
connect to a different OR than lives on the addr:port we connected to. we don't actually remember whether that was the case, currently. so call it END_CIRC_REASON_OR_CONN_CLOSED as a compromise. svn:r6515
This commit is contained in:
parent
64b1f2fc75
commit
1f0e20806b
@ -423,7 +423,7 @@ circuit_n_conn_done(connection_t *or_conn, int status)
|
||||
DIGEST_LEN)) {
|
||||
if (!status) { /* or_conn failed; close circ */
|
||||
log_info(LD_CIRC,"or_conn failed. Closing circ.");
|
||||
circuit_mark_for_close(circ, END_CIRC_REASON_OR_IDENTITY);
|
||||
circuit_mark_for_close(circ, END_CIRC_REASON_OR_CONN_CLOSED);
|
||||
continue;
|
||||
}
|
||||
log_debug(LD_CIRC, "Found circ, sending create cell.");
|
||||
|
Loading…
Reference in New Issue
Block a user