fluent-plugin-secure-forward 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-secure-forward.gemspec +1 -1
- data/lib/fluent/plugin/out_secure_forward.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77fbfe6e67ec6786e4bd312e21882c600df44b0a
|
4
|
+
data.tar.gz: 043851a9c2f3a8a14ee4036ae97900c9426dc0e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b814443ee370df9e0f37572160cd4f0db02a0690f8271d0e4f6a8fc4a56acae756af97f52e7ca400364605d2e95eaf32206a3a49af20113291d80be5a9c1d9f
|
7
|
+
data.tar.gz: 1f334db769011b703d9e7656eb993e2855eb6723675204b62c57cb4e0d309a15d9d09e2fef60e691b0f68b1f3a86893f6720e95cf9c789bd029cc0aa2ae74314
|
@@ -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.1.
|
4
|
+
gem.version = "0.1.3"
|
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}
|
@@ -163,7 +163,6 @@ module Fluent
|
|
163
163
|
end
|
164
164
|
|
165
165
|
def write_objects(tag, es)
|
166
|
-
#TODO: check errors
|
167
166
|
node = select_node || select_node(true)
|
168
167
|
unless node
|
169
168
|
raise "no one nodes with valid ssl session"
|
@@ -172,8 +171,8 @@ module Fluent
|
|
172
171
|
|
173
172
|
begin
|
174
173
|
send_data(node, tag, es)
|
175
|
-
rescue IOError => e
|
176
|
-
$log.warn "Failed to send messages to #{node.host}, parging."
|
174
|
+
rescue Errno::EPIPE, IOError, OpenSSL::SSL::SSLError => e
|
175
|
+
$log.warn "Failed to send messages to #{node.host}, parging.", :error_class => e.class, :error => e
|
177
176
|
node.shutdown
|
178
177
|
end
|
179
178
|
end
|