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

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
  SHA256:
3
- metadata.gz: 9fd87297c4b2f5b4ba6ccaab5efa4442257e068d493073d5e667c967d682e6be
4
- data.tar.gz: a7cd26a3634f33886a41836b6a306a5ffaf765b1420663a6327181819253fe56
3
+ metadata.gz: abb506339ae5cc58a1b2c98ef35d3a682bf83f9cbc594915c6def38a2c795d93
4
+ data.tar.gz: cb27d4b42cd2f7717a30a526819c18bfa7bf6497ccabf15bc5128cdefe293292
5
5
  SHA512:
6
- metadata.gz: d7ac4a730b7b31ccdb937194be77852e571a705981901ddf649e3b6f21f9aff13852f3e86d1013e9c8d8d456faa1bf3f91967d0e9b4f5c709763509f02f7bb2d
7
- data.tar.gz: 076b32956c407c81455f732ccada94dd4bf0dab4f09bac062310e5fdf194ffc6330b6bc7d131ab1474f459d571d9d1491906d9864fb001501140fceabd0366f4
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.32'
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 "1: 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,19 +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
196
+ pp "2: initialize SSLTransport.select_with_timeout :: " + host_ip_port + " time :: " + Time.now.to_s
197
197
  if can_write(host_ip_port) == 1
198
- pp "3: initialize SSLTransport.select_with_timeout :: " + host_ip_port
199
- if IO.select(*args)
200
- pp "4: initialize SSLTransport.select_with_timeout :: " + host_ip_port
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
201
203
  reset_tries(host_ip_port)
202
204
  else
203
205
  increase_retry(host_ip_port)
204
- pp "initialize SSLTransport.select_with_timeout :: Socket timeout"
206
+ pp "initialize SSLTransport.select_with_timeout :: Socket timeout" + " time :: " + Time.now.to_s
205
207
  raise("Socket timeout during #{type}")
206
208
  end
207
209
  else
208
- pp "initialize SSLTransport.select_with_timeout :: Failed to write"
210
+ pp "initialize SSLTransport.select_with_timeout :: Failed to write" + " time :: " + Time.now.to_s
209
211
  raise("Failed to write #{type}")
210
212
  end
211
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.32
4
+ version: 2.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan