Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
8eeec204
Commit
8eeec204
authored
Jan 24, 2018
by
Alejandro Alvarez Ayllon
Browse files
Fixes
FTS-1135
: Set SSL_VERIFYHOST
parent
4ba15ce3
Pipeline
#286568
failed with stage
in 1 minute and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/fts3/rest/client/pycurlRequest.py
View file @
8eeec204
...
...
@@ -35,6 +35,7 @@ class PycurlRequest(object):
def
_set_ssl
(
self
):
self
.
curl_handle
.
setopt
(
pycurl
.
SSL_VERIFYPEER
,
self
.
verify
)
self
.
curl_handle
.
setopt
(
pycurl
.
SSL_VERIFYHOST
,
self
.
verify
)
if
self
.
verify
:
self
.
curl_handle
.
setopt
(
pycurl
.
SSL_VERIFYHOST
,
2
)
if
self
.
ucert
:
...
...
Write
Preview
Supports
Markdown
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