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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc03fbc84a8525c672831599103986b292e2a007
4
- data.tar.gz: 80f2ed044bcb1de9b257359cafe231b7f47cd064
3
+ metadata.gz: faf37b33b2fa2df0540753b20b1b19a5306d63eb
4
+ data.tar.gz: f6b0babfb59e52428bb157e20c2c7423b5813526
5
5
  SHA512:
6
- metadata.gz: e09a847fe60ae72ab57682a677c93b34bae8c5b3d1851000e0a754063c63ed186909f5d5278bc5500b1167869429b2cb261c4242bc45d6ae8000b38650bcafb3
7
- data.tar.gz: 556f0b96faa71fb3c4d7d837365f5377b96d7bf99b52742451b4e374f049c3588e14a0b548112760f81d5347dd8bfdcb10317c728efdffae1e6fbc5c82d5cd70
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.alpha7"
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(0)
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
- { insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path, connect_timeout: 10, send_timeout: 10, recv_timeout: 10, linger_timeout: 10 }
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog_rfc5424
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2.alpha7
4
+ version: 0.7.2.alpha8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal