transit: mention tor when describing connections that use it
This commit is contained in:
parent
2d949f23c6
commit
33370bb1b3
|
@ -811,6 +811,8 @@ class Common:
|
||||||
if not ep:
|
if not ep:
|
||||||
continue
|
continue
|
||||||
description = "->%s" % describe_hint_obj(hint_obj)
|
description = "->%s" % describe_hint_obj(hint_obj)
|
||||||
|
if self._tor_manager:
|
||||||
|
description = "tor" + description
|
||||||
d = self._start_connector(ep, description)
|
d = self._start_connector(ep, description)
|
||||||
contenders.append(d)
|
contenders.append(d)
|
||||||
relay_delay = self.RELAY_DELAY
|
relay_delay = self.RELAY_DELAY
|
||||||
|
@ -836,6 +838,8 @@ class Common:
|
||||||
if not ep:
|
if not ep:
|
||||||
continue
|
continue
|
||||||
description = "->relay:%s" % describe_hint_obj(hint_obj)
|
description = "->relay:%s" % describe_hint_obj(hint_obj)
|
||||||
|
if self._tor_manager:
|
||||||
|
description = "tor" + description
|
||||||
d = task.deferLater(self._reactor, relay_delay,
|
d = task.deferLater(self._reactor, relay_delay,
|
||||||
self._start_connector, ep, description,
|
self._start_connector, ep, description,
|
||||||
is_relay=True)
|
is_relay=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user