Skip to content

Commit

Permalink
Feat: Support ciphers SSLOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
saiqulhaq committed Sep 9, 2024
1 parent 2d35fce commit 97a10f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion faraday-net_http_persistent.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*") + %w[README.md LICENSE.md]
spec.require_paths = ["lib"]

spec.add_dependency "faraday", "~> 2.5"
spec.add_dependency "faraday", ">= 2.11.0", "< 3"
spec.add_dependency "net-http-persistent", "~> 4.0"
end
1 change: 1 addition & 0 deletions lib/faraday/adapter/net_http_persistent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def request_with_wrapped_block(http, env)

SSL_CONFIGURATIONS = {
certificate: :client_cert,
ciphers: :ciphers,
private_key: :client_key,
ca_file: :ca_file,
ssl_version: :version,
Expand Down

0 comments on commit 97a10f7

Please sign in to comment.