mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Jan 05 19:39:27.356 [warn] connection_edge_process_end_not_open():
Got an end because of misc error, but we're not an AP. Closing. svn:r5744
This commit is contained in:
parent
f88fa3efc1
commit
654b61a2e8
@ -654,13 +654,8 @@ connection_edge_process_end_not_open(
|
|||||||
routerinfo_t *exitrouter;
|
routerinfo_t *exitrouter;
|
||||||
int reason = *(cell->payload+RELAY_HEADER_SIZE);
|
int reason = *(cell->payload+RELAY_HEADER_SIZE);
|
||||||
|
|
||||||
if (rh->length > 0 && edge_reason_is_retriable(reason)) {
|
if (rh->length > 0 && edge_reason_is_retriable(reason) &&
|
||||||
if (conn->type != CONN_TYPE_AP) {
|
conn->type == CONN_TYPE_AP) {
|
||||||
warn(LD_PROTOCOL,
|
|
||||||
"Got an end because of %s, but we're not an AP. Closing.",
|
|
||||||
connection_edge_end_reason_str(reason));
|
|
||||||
return - END_CIRC_REASON_TORPROTOCOL;
|
|
||||||
}
|
|
||||||
info(LD_APP,"Address '%s' refused due to '%s'. Considering retrying.",
|
info(LD_APP,"Address '%s' refused due to '%s'. Considering retrying.",
|
||||||
safe_str(conn->socks_request->address),
|
safe_str(conn->socks_request->address),
|
||||||
connection_edge_end_reason_str(reason));
|
connection_edge_end_reason_str(reason));
|
||||||
|
Loading…
Reference in New Issue
Block a user