mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
r13304@catbus: nickm | 2007-06-07 13:25:37 -0400
Deprecate RedirectExits. svn:r10526
This commit is contained in:
parent
5d90e24cfc
commit
1b200de0ef
@ -765,6 +765,7 @@ a Tor controller that handles directory publishing for you.
|
|||||||
.LP
|
.LP
|
||||||
.TP
|
.TP
|
||||||
\fBRedirectExit \fR\fIpattern target\fP
|
\fBRedirectExit \fR\fIpattern target\fP
|
||||||
|
THIS OPTION IS DEPRECATED. It will go away in a future version of Tor.
|
||||||
Whenever an outgoing connection tries to connect to one of a given set
|
Whenever an outgoing connection tries to connect to one of a given set
|
||||||
of addresses, connect to \fItarget\fP (an \fIaddress:port\fP pair) instead.
|
of addresses, connect to \fItarget\fP (an \fIaddress:port\fP pair) instead.
|
||||||
The address
|
The address
|
||||||
|
@ -2562,6 +2562,11 @@ set_exit_redirects(smartlist_t *lst)
|
|||||||
SMARTLIST_FOREACH(redirect_exit_list, exit_redirect_t *, p, tor_free(p));
|
SMARTLIST_FOREACH(redirect_exit_list, exit_redirect_t *, p, tor_free(p));
|
||||||
smartlist_free(redirect_exit_list);
|
smartlist_free(redirect_exit_list);
|
||||||
}
|
}
|
||||||
|
if (lst && smartlist_len(lst)) {
|
||||||
|
log_warn(LD_GENERAL,
|
||||||
|
"The RedirectExit option is deprecated; it will go away in a "
|
||||||
|
"future version of Tor.");
|
||||||
|
}
|
||||||
redirect_exit_list = lst;
|
redirect_exit_list = lst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user