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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6e68e6a1ece4fdf3a2aadb8579bba36767ee7dc
4
- data.tar.gz: b18c60e807554529450aed7c7ed19aaee86fc64a
3
+ metadata.gz: 77fbfe6e67ec6786e4bd312e21882c600df44b0a
4
+ data.tar.gz: 043851a9c2f3a8a14ee4036ae97900c9426dc0e4
5
5
  SHA512:
6
- metadata.gz: 9bc132d8a319109249b7d7d455819c345d15b3c6e2c8cd6a9ea02c22d3a0b07b9fe04550b88af996afd593760089ec8552a69c11834111106eeb3346fbfbaee8
7
- data.tar.gz: 4c8c1db643cb57257fc780b3470b7b694f3f55e6020fa1f5c56b9c8b9590f0ce5cc605377f0ebd36c77a3cb4a2b628737ab20d25f004ad3666a7773c10525e4e
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.2"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-secure-forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi