Hi, I would like to start contributing to Tor development thus I picked up a bug and tried to fix it.
It's the 9665: https://trac.torproject.org/projects/tor/ticket/9665 I don't know whether I understood the problem well or not but I came up with the attached (trivial) solution. Could someone please check if it's ok? Thank you. -- F. Bertinatto
From 52a57521ab6fb53e41b80a00e0f9fab58b8f84c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20J=2E=20Bertinatto?= <[email protected]> Date: Tue, 5 Nov 2013 00:50:16 -0200 Subject: [PATCH] Fix bug9665 --- src/or/connection_or.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 089de93..220e48b 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1189,6 +1189,11 @@ connection_or_connect(const tor_addr_t *_addr, uint16_t port, "your pluggable transport proxy stopped running.", fmt_addrport(&TO_CONN(conn)->addr, TO_CONN(conn)->port), transport_name, transport_name); + + control_event_bootstrap_problem( + "Can't connect to bridge", + END_OR_CONN_REASON_NO_ROUTE); + } else { log_warn(LD_GENERAL, "Tried to connect to '%s' through a proxy, but " "the proxy address could not be found.", -- 1.8.3.1
_______________________________________________ tor-dev mailing list [email protected] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
