fluent-plugin-syslog-gobi-tls 2.1.31 → 2.1.33

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
  SHA256:
3
- metadata.gz: d1239c5bbd380b85554b58cccdaf872b54e893f2b13bf310fddb4e381c35df27
4
- data.tar.gz: aa9b3bd1297a9ca116cb1737f6e30c7326f280b86429030887df4178f3667059
3
+ metadata.gz: abb506339ae5cc58a1b2c98ef35d3a682bf83f9cbc594915c6def38a2c795d93
4
+ data.tar.gz: cb27d4b42cd2f7717a30a526819c18bfa7bf6497ccabf15bc5128cdefe293292
5
5
  SHA512:
6
- metadata.gz: 144f5e4c1c3763127d25b48945858a2af3dcef7acb3122ab56203502134bd77300319a03ab9ffc1188d846522b8c3ea454502a228e485f65b12d76ba014afab9
7
- data.tar.gz: 2e3b936a295ee9fa013bc15d8d1fddf67ed4aaa50de95c77a4668501f30c9d66887978b66b699d28537e9825a000a24e9c96a8ff362d38f17fdb99801d4bb146
6
+ metadata.gz: 1c41a3f0e43241520a937842dfa14128628eaeda89c2cd7815b6bc12ac5b7c8b6b4fb387a675553dad5a788bbd668687af8996e8a5deaf4b306a237e6981e26c
7
+ data.tar.gz: f846220819f5b0f5813d77a9e1da62beab745ffd0c61eead1545fd722d1699f2e3275a505b9a3e482a36cb27229404f3c6f29030b39d579635d74f6332296c7d
@@ -19,7 +19,7 @@ require 'syslog_tls/version'
19
19
 
20
20
  Gem::Specification.new do |s|
21
21
  s.name = 'fluent-plugin-syslog-gobi-tls'
22
- s.version = '2.1.31'
22
+ s.version = '2.1.33'
23
23
  s.authors = ['thomas morgan']
24
24
  s.email = ['tm@iprog.com']
25
25
  s.summary = %q{Fluent Syslog TLS output plugin}
@@ -179,7 +179,7 @@ module SyslogTls
179
179
  def select_with_timeout(tcp, type)
180
180
 
181
181
  host_ip_port = host + ":" + port.to_s
182
- pp "initialize SSLTransport.select_with_timeout :: " + host_ip_port
182
+ pp "1: initialize SSLTransport.select_with_timeout :: " + host_ip_port + " time :: " + Time.now.to_s
183
183
 
184
184
  case type
185
185
  when :connect_read
@@ -193,16 +193,21 @@ module SyslogTls
193
193
  else
194
194
  raise "Unknown select type #{type}"
195
195
  end
196
+ pp "2: initialize SSLTransport.select_with_timeout :: " + host_ip_port + " time :: " + Time.now.to_s
196
197
  if can_write(host_ip_port) == 1
197
- if IO.select(*args)
198
+ pp "3: initialize SSLTransport.select_with_timeout :: " + host_ip_port + " time :: " + Time.now.to_s
199
+ select_with_timeout_var = IO.select(*args)
200
+ pp "select_with_timeout_var :: " + select_with_timeout_var.to_s + " :: " + host_ip_port + " time :: " + Time.now.to_s
201
+ if select_with_timeout_var
202
+ pp "4: initialize SSLTransport.select_with_timeout :: " + host_ip_port + " time :: " + Time.now.to_s
198
203
  reset_tries(host_ip_port)
199
204
  else
200
205
  increase_retry(host_ip_port)
201
- pp "initialize SSLTransport.select_with_timeout :: Socket timeout"
206
+ pp "initialize SSLTransport.select_with_timeout :: Socket timeout" + " time :: " + Time.now.to_s
202
207
  raise("Socket timeout during #{type}")
203
208
  end
204
209
  else
205
- pp "initialize SSLTransport.select_with_timeout :: Failed to write"
210
+ pp "initialize SSLTransport.select_with_timeout :: Failed to write" + " time :: " + Time.now.to_s
206
211
  raise("Failed to write #{type}")
207
212
  end
208
213
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog-gobi-tls
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.31
4
+ version: 2.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan