Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
bef36122
Commit
bef36122
authored
Oct 20, 2020
by
Alexandre
Browse files
Update connection state on end
parent
55496c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
homer/connection.py
View file @
bef36122
...
...
@@ -224,6 +224,7 @@ class ConnectionDOT(Connection):
def
end
(
self
):
self
.
session
.
shutdown
()
self
.
session
.
close
()
self
.
state
=
'CLOSED'
def
send_data
(
self
,
data
,
dump
=
False
):
if
dump
:
...
...
@@ -411,6 +412,7 @@ class ConnectionDOH(Connection):
else
:
self
.
remove_handles
()
self
.
multi
.
close
()
self
.
state
=
'CLOSED'
def
remove_handles
(
self
):
n
,
handle_success
,
handle_fail
=
self
.
multi
.
info_read
()
...
...
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