aws-sdk-core 2.9.4 → 2.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29ec6d365f66b057d62945c51d7d363fbeebafc7
4
- data.tar.gz: d31a4ece3d305d305bd792723f0b119e904da202
3
+ metadata.gz: 664fd8561bd09c502ae35e88e1c5b4c99eb6fc8c
4
+ data.tar.gz: 88070f3045a664dfa89f2ee499163f58213b5213
5
5
  SHA512:
6
- metadata.gz: 25936d907cfef8bb59a1a91d8148ed1384c82f4640e2e6fbba4c6c5e74066687ebf58534520659e503a968a757efa198892c237430e2e3a017089a95da81ce0d
7
- data.tar.gz: 8679a8e1ffef9fab85226c97751bad4daa1035c31d79e54e65c23c1bc777269ebae27169c4367f89d237a71efcba1814e74764752c02ac2eb677f8fa3ed4bf14
6
+ metadata.gz: 454ec475bc1bc6a0f04b6563e5d9ddd2dc5201580f0d7f351303b2ed06a68e4e5beeb23b0ace5f984ba686799fa5236a380cc918a4f4ff503dbed87a0efd2921
7
+ data.tar.gz: 83b3bb30cf65bb957f599908260c4e5269816b4b1722b9902cbe36628947da1b35311f8ca9e9e36aacde03bf4724f7b01becb3996dedab400bdd02a4f00b043d
@@ -405,6 +405,24 @@ module Aws
405
405
  ))
406
406
  end
407
407
 
408
+ # Close any long-lived connections maintained by the SDK's internal
409
+ # connection pool.
410
+ #
411
+ # Applications that rely heavily on the `fork()` system call on POSIX systems
412
+ # should call this method in the child process directly after fork to ensure
413
+ # there are no race conditions between the parent process and its children
414
+ # for the pooled TCP connections.
415
+ #
416
+ # Child processes that make multi-threaded calls to the SDK should block on
417
+ # this call before beginning work.
418
+ #
419
+ # @return [nil]
420
+ def empty_connection_pools!
421
+ Seahorse::Client::NetHttp::ConnectionPool.pools.each do |pool|
422
+ pool.empty!
423
+ end
424
+ end
425
+
408
426
  # Loads modules that are normally loaded with Ruby's `autoload`.
409
427
  # This can avoid thread-safety issues that some Ruby versions have
410
428
  # with `autoload`.
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.9.4'
2
+ VERSION = '2.9.5'
3
3
  end
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: 2.9.4
4
+ version: 2.9.5
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: 2017-04-05 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath