From 52a57521ab6fb53e41b80a00e0f9fab58b8f84c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?F=C3=A1bio=20J=2E=20Bertinatto?= <fabiojrb@gmail.com>
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

