fluent-plugin-secure-forward 0.4.0 → 0.4.1
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 +4 -4
- data/fluent-plugin-secure-forward.gemspec +1 -1
- data/lib/fluent/plugin/output_node.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 884cb0658800dadc4aab974749f7256c10dbf31e
|
|
4
|
+
data.tar.gz: 6d14be3cdb926d54406101c4ba12f9f3cc1c33ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2016-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|