commit 60ac9f1c90f6036356f778513f0eb3e2f9760fa3 Author: Yawning Angel yawning@schwanenlied.me Date: Thu May 1 18:58:53 2014 +0000
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. --- src/or/transports.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/transports.c b/src/or/transports.c index b810315..eee159d 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -805,7 +805,8 @@ handle_finished_proxy(managed_proxy_t *mp) case PT_PROTO_CONFIGURED: /* if configured correctly: */ if (mp->proxy_uri && !mp->proxy_supported) { 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. */ break; }
tor-commits@lists.torproject.org