Commit cb3c62d3 authored by Julien Muchembled's avatar Julien Muchembled

Log when the destruction of a tunnel is aborted

parent 7c350eb0
......@@ -264,6 +264,11 @@ class TunnelManager(object):
if self._killing:
for prefix, tunnel_killer in self._killing.items():
if tunnel_killer.timeout < t:
if tunnel_killer.state != 'unlocking':
'Abort destruction of tunnel %s %s/%s (state: %s)',
'to' if tunnel_killer.client else 'from',
int(prefix, 2), len(prefix), tunnel_killer.state)
del self._killing[prefix]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment