fluent-plugin-hash-forward 0.3.3 → 0.3.4

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: d01dea2a66bc0f774fc40e36ccb1ebf6e2a01e49
4
- data.tar.gz: aca6bf525e53870912ed253c7aff0dceda19826d
3
+ metadata.gz: 8f74749e5f39d35519ab2ff9c7efb3e3ce762d20
4
+ data.tar.gz: 3752dac28ed939a2b3f3a32cc302a73cd848a973
5
5
  SHA512:
6
- metadata.gz: 95dd5908ae5750478ace61a0e940d177993326645d01ea24dd948d2e54e52ec5d16b91581390265e6056dab17a902928e187043757bd998117cd78f98b5ed6d2
7
- data.tar.gz: 362fd432c9a0898905154e3cf530cd689e10729556ac746283e952b31ffd22b71a5e26d974cf798959b9a88b10c8bc4086b487f71b02ad9e4aa2a7b7de88f1c1
6
+ metadata.gz: 33659670df6dabaedb7d48f589c1b3f18b992611a0360646eb844138c2136d57f2f9b6b5106714fd46d4299b0becaf05b447327c8eaa7d426072c7133f710cdd
7
+ data.tar.gz: 70079997a04d14d43ef96ef84bdf1d41506e6852b8906cff1dcf27344865b1c6acf034d7ffd305e894c5f0fd0fa7c8dd7b0bdb9b60cfa634172b7aea7f690661
@@ -1,3 +1,9 @@
1
+ # 0.3.4 (2014/03/19)
2
+
3
+ Fixes
4
+
5
+ * Explicitly close socket at the case non-keepalive
6
+
1
7
  # 0.3.3 (2014/03/17)
2
8
 
3
9
  Enhancement:
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fluent-plugin-hash-forward"
6
- s.version = "0.3.3"
6
+ s.version = "0.3.4"
7
7
  s.authors = ["Ryosuke IWANAGA", "Naotoshi Seo"]
8
8
  s.email = ["riywo.jp@gmail.com", "sonots@gmail.com"]
9
9
  s.homepage = "https://github.com/riywo/fluent-plugin-hash-forward"
@@ -205,6 +205,8 @@ class Fluent::HashForwardOutput < Fluent::ForwardOutput
205
205
  log.warn "out_hash_forward: send_data failed #{e.class} #{e.message}, try to reconnect", :host=>node.host, :port=>node.port
206
206
  sock = reconnect(node)
207
207
  retry
208
+ ensure
209
+ sock.close if sock and !@keepalive
208
210
  end
209
211
  end
210
212
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-hash-forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryosuke IWANAGA
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-17 00:00:00.000000000 Z
12
+ date: 2014-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd