async-http 0.50.1 → 0.50.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/http/endpoint.rb +2 -3
- data/lib/async/http/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41ac80694fcbf70c6db39bf8eb7c623b488f7e532fee830cbfee9e7be0886fed
|
4
|
+
data.tar.gz: 649b951f1a870b651ff0f792c392644683ea00f99ccac95fc3fb6d90f992bdef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 037607a4e52539fa49d7c4977151c0287af88054b3fbfc743b76ef464a8318d63013b3d24065fdf481281fd8387b528038e2a2b1e832bca945fd4bf0d6a006f5
|
7
|
+
data.tar.gz: 22dd139aa493c0212a12a130878c6b90873398abc92fa9729b01418105e0e17978b338959ba6c0fbe75e3222567352eb07415ad89d64c246524887b6ea28944c
|
data/lib/async/http/endpoint.rb
CHANGED
@@ -163,14 +163,13 @@ module Async
|
|
163
163
|
end
|
164
164
|
|
165
165
|
def ssl_context
|
166
|
-
@options[:ssl_context] ||
|
166
|
+
@options[:ssl_context] || OpenSSL::SSL::SSLContext.new.tap do |context|
|
167
167
|
if alpn_protocols = self.alpn_protocols
|
168
168
|
context.alpn_protocols = alpn_protocols
|
169
169
|
end
|
170
170
|
|
171
171
|
context.set_params(
|
172
|
-
verify_mode: self.ssl_verify_mode
|
173
|
-
min_version: ::OpenSSL::SSL::TLS1_2_VERSION,
|
172
|
+
verify_mode: self.ssl_verify_mode
|
174
173
|
)
|
175
174
|
end
|
176
175
|
end
|
data/lib/async/http/version.rb
CHANGED