aws-sdk-core 3.110.0 → 3.115.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,18 +75,23 @@ module Seahorse
75
75
  def connect(endpoint)
76
76
  @mutex.synchronize {
77
77
  if @status == :ready
78
- tcp, addr = _tcp_socket(endpoint)
78
+ tcp, addr = _tcp_socket(endpoint)
79
79
  debug_output("opening connection to #{endpoint.host}:#{endpoint.port} ...")
80
80
  _nonblocking_connect(tcp, addr)
81
81
  debug_output('opened')
82
82
 
83
- @socket = OpenSSL::SSL::SSLSocket.new(tcp, _tls_context)
84
- @socket.sync_close = true
85
- @socket.hostname = endpoint.host
83
+ if endpoint.scheme == 'https'
84
+ @socket = OpenSSL::SSL::SSLSocket.new(tcp, _tls_context)
85
+ @socket.sync_close = true
86
+ @socket.hostname = endpoint.host
87
+
88
+ debug_output("starting TLS for #{endpoint.host}:#{endpoint.port} ...")
89
+ @socket.connect
90
+ debug_output('TLS established')
91
+ else
92
+ @socket = tcp
93
+ end
86
94
 
87
- debug_output("starting TLS for #{endpoint.host}:#{endpoint.port} ...")
88
- @socket.connect
89
- debug_output('TLS established')
90
95
  _register_h2_callbacks
91
96
  @status = :active
92
97
  elsif @status == :closed
@@ -245,4 +250,3 @@ module Seahorse
245
250
  end
246
251
  end
247
252
  end
248
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.110.0
4
+ version: 3.115.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-03 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -85,6 +85,8 @@ executables: []
85
85
  extensions: []
86
86
  extra_rdoc_files: []
87
87
  files:
88
+ - CHANGELOG.md
89
+ - LICENSE.txt
88
90
  - VERSION
89
91
  - ca-bundle.crt
90
92
  - lib/aws-sdk-core.rb
@@ -108,6 +110,7 @@ files:
108
110
  - lib/aws-sdk-core/credentials.rb
109
111
  - lib/aws-sdk-core/deprecations.rb
110
112
  - lib/aws-sdk-core/eager_loader.rb
113
+ - lib/aws-sdk-core/ec2_metadata.rb
111
114
  - lib/aws-sdk-core/ecs_credentials.rb
112
115
  - lib/aws-sdk-core/endpoint_cache.rb
113
116
  - lib/aws-sdk-core/errors.rb
@@ -287,8 +290,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
287
290
  licenses:
288
291
  - Apache-2.0
289
292
  metadata:
290
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-core
291
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-core/CHANGELOG.md
293
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core
294
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core/CHANGELOG.md
292
295
  post_install_message:
293
296
  rdoc_options: []
294
297
  require_paths:
@@ -304,8 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
304
307
  - !ruby/object:Gem::Version
305
308
  version: '0'
306
309
  requirements: []
307
- rubyforge_project:
308
- rubygems_version: 2.7.6.2
310
+ rubygems_version: 3.1.6
309
311
  signing_key:
310
312
  specification_version: 4
311
313
  summary: AWS SDK for Ruby - Core