mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 23:52:30 +01:00
Improve the log message when a transport doesn't support proxies.
Per feedback, explicltly note that the transport will be killed when it does not acknowledge the configured outgoing proxy.
This commit is contained in:
parent
1210bdf146
commit
60ac9f1c90
1 changed files with 2 additions and 1 deletions
|
@ -805,7 +805,8 @@ handle_finished_proxy(managed_proxy_t *mp)
|
||||||
case PT_PROTO_CONFIGURED: /* if configured correctly: */
|
case PT_PROTO_CONFIGURED: /* if configured correctly: */
|
||||||
if (mp->proxy_uri && !mp->proxy_supported) {
|
if (mp->proxy_uri && !mp->proxy_supported) {
|
||||||
log_warn(LD_CONFIG, "Managed proxy '%s' did not configure the "
|
log_warn(LD_CONFIG, "Managed proxy '%s' did not configure the "
|
||||||
"specified outgoing proxy.", mp->argv[0]);
|
"specified outgoing proxy and will be terminated.",
|
||||||
|
mp->argv[0]);
|
||||||
managed_proxy_destroy(mp, 1); /* annihilate it. */
|
managed_proxy_destroy(mp, 1); /* annihilate it. */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue