fluent-plugin-syslog-tls-with-backoff-test 2.1.7 → 2.1.8

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
  SHA256:
3
- metadata.gz: f96a93ca908c016557dab784e8df47fe2c0cf2beb1a1f5192f56b061c501dca0
4
- data.tar.gz: 2f962b941cd83bbda651f5c1e181700fb64b58bb2a2313fa7140fbc2c3d388df
3
+ metadata.gz: 80c2a2dd311df96a2fb4b48ed694317e454c63f2740afc8de003b2eeb233fe18
4
+ data.tar.gz: adcb959b2f4cd51cf7e9c4178f216a5539e898108a69f43fed1785ed2c565dbe
5
5
  SHA512:
6
- metadata.gz: e80612fe421da60837f5965cff62d90072d07e6bb49c31e2ac1a01e6cffe4a81f1fcedd434f020a74ef62ebc5508ccdaa27c017a4f864bbd69c8a9dfdbc5935d
7
- data.tar.gz: e9c8e3111151bbd44854ea8f953fad481c90af699c5f7992f42a306d11b0455d359a50bbebafa1186c7ba661a9f0a89ebbfb9a332169d7d768b680807d19105c
6
+ metadata.gz: 0a1efc9bbb39d84a55e3c56c9294b709a09c2a9a8d50b8ee9208a631688cf35c545a4bea0d107b7ab3fe92a1530d757116486cee80f497db6798510f6ac937d8
7
+ data.tar.gz: e08b727eea43b2366c697fa8997441badf73f07c10379d91b09bb398a578e41dd56fbe888773898c272d297173eeb063cac384f6400b352c9b55f43b7345b252
@@ -186,7 +186,7 @@ module SyslogTls
186
186
  else
187
187
  raise "Unknown select type #{type}"
188
188
  end
189
- if type.to_s == "connect_write" || type.to_s == "connect_read"
189
+ if type.to_s == "connect_write"
190
190
  pp "select_with_timeout :: if :: time :: " + Time.now.to_s + " :: host_ip_port :: " + host_ip_port
191
191
  if can_write(host_ip_port) == 1
192
192
  io_select_return = IO.select(*args)
@@ -202,6 +202,7 @@ module SyslogTls
202
202
  # raise("Failed to write #{type}")
203
203
  end
204
204
  else
205
+ reset_tries(host_ip_port)
205
206
  pp "select_with_timeout :: else :: time :: " + Time.now.to_s + " :: host_ip_port :: " + host_ip_port
206
207
  IO.select(*args) || raise("Socket timeout during #{type}")
207
208
  end
@@ -14,5 +14,5 @@
14
14
  # limitations under the License.
15
15
 
16
16
  module SyslogTls
17
- VERSION = '2.1.7'
17
+ VERSION = '2.1.8'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog-tls-with-backoff-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan