fluent-plugin-secure-forward 0.2.5 → 0.2.6

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: 0e512df45811d1daeb53fdc90ed2dc1d812dec4f
4
- data.tar.gz: b4f394b10c68339166a6651edb31944fc145f007
3
+ metadata.gz: 0a035b4fd131a7bf4b7cc2941bdfb7584ead806d
4
+ data.tar.gz: 93613ca4e49b0bfcf30e20bcc8e32677b1fa6896
5
5
  SHA512:
6
- metadata.gz: 1938d8f7560a587f17ca5b81f5bd5a70fb807116e08363ff2742ae0b9adebcc315d1834dea336f6f34f3f089442d5cdb6af559de91858c5ae3e88a8633f9324c
7
- data.tar.gz: 4bc7aed96ad53ab1ce8000f7f4735442b7b3f64fbbd6717db3db3fafb230838ea54caf833017dd2d6f9ea0413da051e0114c32aa5c08e436f48218cd056134e6
6
+ metadata.gz: 62f182fa4b20baf9db98908f54bfddf9474abb005526a9b7702382b84a6f8bcfaad0b7d5d0b12ff7348e85cd689a8ba17331c5b4505d7470fd31c066785a0726
7
+ data.tar.gz: de999cd97f64b0661cc8012a6afcb7f14445836db10bd55806ef17b4c6e2ade0de3d32e97137f9dc4ce9d47c3927bba7d516731604efb9af4fdaa3f4b361ba3c
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-secure-forward"
4
- gem.version = "0.2.5"
4
+ gem.version = "0.2.6"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.summary = %q{Fluentd input/output plugin to forward over SSL with authentications}
@@ -141,7 +141,7 @@ module Fluent
141
141
  (0...nodes_size).each do |i|
142
142
  log.trace "node health watcher for #{@nodes[i].host}"
143
143
 
144
- next if @nodes[i].established? && ! @nodes[i].expired?
144
+ next if @nodes[i].established? && ! @nodes[i].expired? && ! @nodes[i].detached?
145
145
 
146
146
  next if reconnectings[i]
147
147
 
@@ -153,7 +153,7 @@ module Fluent
153
153
  end
154
154
 
155
155
  node = @nodes[i]
156
- log.debug "reconnecting to node", :host => node.host, :port => node.port, :expire => node.expire, :expired => node.expired?
156
+ log.debug "reconnecting to node", :host => node.host, :port => node.port, :expire => node.expire, :expired => node.expired?, :detached => node.detached?
157
157
 
158
158
  renewed = node.dup
159
159
  renewed.start
@@ -296,6 +296,8 @@ class Fluent::SecureForwardOutput::Node
296
296
  end
297
297
  end
298
298
  while @writing
299
+ break if @detach
300
+
299
301
  sleep read_interval
300
302
  end
301
303
  self.shutdown
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-secure-forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -140,4 +140,3 @@ test_files:
140
140
  - test/plugin/test_in_secure_forward.rb
141
141
  - test/plugin/test_input_session.rb
142
142
  - test/plugin/test_out_secure_forward.rb
143
- has_rdoc: