fluent-plugin-syslog-gobi-tls 2.1.31 → 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 +4 -4
- data/fluent-plugin-syslog-tls.gemspec +1 -1
- data/lib/syslog_tls/ssl_transport.rb +9 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abb506339ae5cc58a1b2c98ef35d3a682bf83f9cbc594915c6def38a2c795d93
|
4
|
+
data.tar.gz: cb27d4b42cd2f7717a30a526819c18bfa7bf6497ccabf15bc5128cdefe293292
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
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
|