Skip to content

Commit

Permalink
Accept SSLOptions->ciphers to be passed to the Net::HTTP instance (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
womblep authored Aug 26, 2024
1 parent b1329e6 commit 2d9d0aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/faraday/adapter/net_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def configure_ssl(http, ssl)
http.min_version = ssl[:min_version] if ssl[:min_version]
http.max_version = ssl[:max_version] if ssl[:max_version]
http.verify_hostname = ssl[:verify_hostname] if verify_hostname_enabled?(http, ssl)
http.ciphers = ssl[:ciphers] if ssl[:ciphers]
end

def configure_request(http, req)
Expand Down

0 comments on commit 2d9d0aa

Please sign in to comment.