lib/async/http/endpoint.rb in async-http-0.50.0 vs lib/async/http/endpoint.rb in async-http-0.50.1

- old
+ new

@@ -167,10 +167,11 @@ if alpn_protocols = self.alpn_protocols context.alpn_protocols = alpn_protocols end context.set_params( - verify_mode: self.ssl_verify_mode + verify_mode: self.ssl_verify_mode, + min_version: ::OpenSSL::SSL::TLS1_2_VERSION, ) end end def build_endpoint(endpoint = nil) \ No newline at end of file