Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
re6stnet
Commits
cb3c62d3
Commit
cb3c62d3
authored
Dec 19, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log when the destruction of a tunnel is aborted
parent
7c350eb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
re6st/tunnel.py
re6st/tunnel.py
+5
-0
No files found.
re6st/tunnel.py
View file @
cb3c62d3
...
@@ -264,6 +264,11 @@ class TunnelManager(object):
...
@@ -264,6 +264,11 @@ class TunnelManager(object):
if
self
.
_killing
:
if
self
.
_killing
:
for
prefix
,
tunnel_killer
in
self
.
_killing
.
items
():
for
prefix
,
tunnel_killer
in
self
.
_killing
.
items
():
if
tunnel_killer
.
timeout
<
t
:
if
tunnel_killer
.
timeout
<
t
:
if
tunnel_killer
.
state
!=
'unlocking'
:
logging
.
info
(
'Abort destruction of tunnel %s %s/%s (state: %s)'
,
'to'
if
tunnel_killer
.
client
else
'from'
,
int
(
prefix
,
2
),
len
(
prefix
),
tunnel_killer
.
state
)
tunnel_killer
.
unlock
()
tunnel_killer
.
unlock
()
del
self
.
_killing
[
prefix
]
del
self
.
_killing
[
prefix
]
else
:
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment