Skip to content

Commit

Permalink
Accept SSLOptions->ciphers to be passed to the Net::HTTP instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Penney committed Aug 16, 2024
1 parent 6572f21 commit 7d8d251
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 7d8d251

Please sign in to comment.