Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
DNS testing tools
Remoh
Commits
bef36122
Commit
bef36122
authored
Oct 20, 2020
by
Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update connection state on end
parent
55496c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
homer/connection.py
homer/connection.py
+2
-0
No files found.
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