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
dc59841f
Commit
dc59841f
authored
Apr 15, 2020
by
Stephane Bortzmeyer
Browse files
Handles OSError
parent
a5251758
Changes
1
Hide whitespace changes
Inline
Side-by-side
homer.py
View file @
dc59841f
...
...
@@ -373,6 +373,10 @@ class ConnectionDoT(Connection):
if
self
.
verbose
:
print
(
"Timeout"
)
return
False
except
OSError
:
if
self
.
verbose
:
print
(
"Cannot connect"
)
return
False
# RFC 7858, section 4.2 and appendix A
self
.
cert
=
self
.
session
.
get_peer_certificate
()
self
.
publickey
=
self
.
cert
.
get_pubkey
()
...
...
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