fluent-plugin-secure-forward 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 720be38550fc94c1019ed007ddf162b2cd8cd128
4
- data.tar.gz: 5fdbf268fab3581d75dfc99b348cffee49d15d50
3
+ metadata.gz: 884cb0658800dadc4aab974749f7256c10dbf31e
4
+ data.tar.gz: 6d14be3cdb926d54406101c4ba12f9f3cc1c33ba
5
5
  SHA512:
6
- metadata.gz: 5b83814aedafc5a109859e590ccae27076ca8d23f88fe257393977c52f09d684a3b4b9bb8e627dde824c8bd5281b1baa931c34f749533736a6341d8039acc49e
7
- data.tar.gz: dc6e2660534c6eda1dc1760c8f1e296dedbfdc563ab8ba5def6073da993a212d37046858f0b304b4f810397c4d75e8c287d8462e42eb4d208640be39ac7d719d
6
+ metadata.gz: f79fd873d46fabdba39d74f526574841d3243490bf4d0045e7daaf128b8bd94b69923ae4d75b9040d377df8bb7a17ddcdf4ad1403149300b62663eb6402a7a0f
7
+ data.tar.gz: 1aafaa32d384301dfa4c44bcd92a1da432df3f7f13b7b5265c91e34f70eda11028de8d6b5185dc64140146edfa89f90bd02b3c7c2f7dc6dca22b9bd643e7bd39
@@ -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.4.0"
4
+ gem.version = "0.4.1"
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}
@@ -330,7 +330,7 @@ class Fluent::SecureForwardOutput::Node
330
330
 
331
331
  loop do
332
332
  break if @detach
333
- break if Time.now > @mtime + @connection_hard_timeout
333
+ break if @connection_hard_timeout && Time.now > @mtime + @connection_hard_timeout
334
334
 
335
335
  begin
336
336
  while @sslsession.read_nonblock(read_length, buf)
@@ -345,7 +345,7 @@ class Fluent::SecureForwardOutput::Node
345
345
  rescue OpenSSL::SSL::SSLError => e
346
346
  # to wait i/o restart
347
347
  log.trace "SSLError", error_class: e.class, error: e, mtime: @mtime, host: @host, port: @port
348
- if Time.now > @mtime + @connection_hard_timeout
348
+ if @connection_hard_timeout && Time.now > @mtime + @connection_hard_timeout
349
349
  log.warn "connection hard timeout", mtime: @mtime, timeout: @connection_hard_timeout, host: @host, port: @port
350
350
  log.warn "aborting connection", host: @host, port: @port
351
351
  self.release!
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-29 00:00:00.000000000 Z
11
+ date: 2016-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd