fluent-plugin-syslog-tls-with-backoff-test 2.1.7 → 2.1.8
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/lib/syslog_tls/ssl_transport.rb +2 -1
- data/lib/syslog_tls/version.rb +1 -1
- 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: 80c2a2dd311df96a2fb4b48ed694317e454c63f2740afc8de003b2eeb233fe18
|
4
|
+
data.tar.gz: adcb959b2f4cd51cf7e9c4178f216a5539e898108a69f43fed1785ed2c565dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a1efc9bbb39d84a55e3c56c9294b709a09c2a9a8d50b8ee9208a631688cf35c545a4bea0d107b7ab3fe92a1530d757116486cee80f497db6798510f6ac937d8
|
7
|
+
data.tar.gz: e08b727eea43b2366c697fa8997441badf73f07c10379d91b09bb398a578e41dd56fbe888773898c272d297173eeb063cac384f6400b352c9b55f43b7345b252
|
@@ -186,7 +186,7 @@ module SyslogTls
|
|
186
186
|
else
|
187
187
|
raise "Unknown select type #{type}"
|
188
188
|
end
|
189
|
-
if type.to_s == "connect_write"
|
189
|
+
if type.to_s == "connect_write"
|
190
190
|
pp "select_with_timeout :: if :: time :: " + Time.now.to_s + " :: host_ip_port :: " + host_ip_port
|
191
191
|
if can_write(host_ip_port) == 1
|
192
192
|
io_select_return = IO.select(*args)
|
@@ -202,6 +202,7 @@ module SyslogTls
|
|
202
202
|
# raise("Failed to write #{type}")
|
203
203
|
end
|
204
204
|
else
|
205
|
+
reset_tries(host_ip_port)
|
205
206
|
pp "select_with_timeout :: else :: time :: " + Time.now.to_s + " :: host_ip_port :: " + host_ip_port
|
206
207
|
IO.select(*args) || raise("Socket timeout during #{type}")
|
207
208
|
end
|
data/lib/syslog_tls/version.rb
CHANGED