fluent-plugin-syslog_rfc5424 0.7.2.alpha7 → 0.7.2.alpha8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-syslog_rfc5424.gemspec +1 -1
- data/lib/fluent/plugin/out_syslog_rfc5424.rb +3 -2
- 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: faf37b33b2fa2df0540753b20b1b19a5306d63eb
|
4
|
+
data.tar.gz: f6b0babfb59e52428bb157e20c2c7423b5813526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05e9fb2b426e42c2d070ef0c79ba2bf00301e8d1bba006c91876efb314ab750bb6efa1a3f7cca41f3eae377c24ff8a3a5af97e2a04c3d9471d84958718004eb6
|
7
|
+
data.tar.gz: 517b660ca4690be96d20af1766326fbf7305282731b57688294aacde168ea0ab8ffccfa9562cd3d75a252b2ec290a62715c0b1fca287504b45734d205db3457d
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-syslog_rfc5424"
|
7
|
-
spec.version = "0.7.2.
|
7
|
+
spec.version = "0.7.2.alpha8"
|
8
8
|
spec.authors = ["Pivotal"]
|
9
9
|
spec.email = %w(cf-loggregator@pivotal.io)
|
10
10
|
spec.homepage = "https://github.com/cloudfoundry/fluent-plugin-syslog_rfc5424"
|
@@ -29,7 +29,7 @@ module Fluent
|
|
29
29
|
chunk.each do |time, record|
|
30
30
|
begin
|
31
31
|
socket.write @formatter.format(tag, time, record)
|
32
|
-
socket.readpartial(
|
32
|
+
socket.readpartial(512) # this should be recv for tcp connections
|
33
33
|
rescue
|
34
34
|
log.debug("Write Error Recreating Connection")
|
35
35
|
@sockets[socket_key(@transport.to_sym, @host, @port)] = nil
|
@@ -57,7 +57,8 @@ module Fluent
|
|
57
57
|
def socket_options
|
58
58
|
return {} unless @transport == 'tls'
|
59
59
|
|
60
|
-
|
60
|
+
# TODO: make timeouts configurable
|
61
|
+
{ insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path, connect_timeout: 10, send_timeout: 10, recv_timeout: 10, linger_timeout: 10 }
|
61
62
|
end
|
62
63
|
|
63
64
|
def socket_key(transport, host, port)
|