mirror of
https://github.com/lostisland/faraday.git
synced 2025-08-29 00:03:58 -04:00
Allow setting of ssl version
This commit is contained in:
parent
204d7c46a8
commit
5cbfd2cdbf
@ -34,6 +34,7 @@ module Faraday
|
||||
http.ca_path = ssl[:ca_path] if ssl[:ca_path]
|
||||
http.cert_store = ssl[:cert_store] if ssl[:cert_store]
|
||||
http.verify_depth = ssl[:verify_depth] if ssl[:verify_depth]
|
||||
http.ssl_version = ssl[:version] if ssl[:version]
|
||||
end
|
||||
|
||||
http.read_timeout = http.open_timeout = req[:timeout] if req[:timeout]
|
||||
|
Loading…
x
Reference in New Issue
Block a user