lib/fluent/plugin/output_node.rb in fluent-plugin-secure-forward-0.3.2 vs lib/fluent/plugin/output_node.rb in fluent-plugin-secure-forward-0.3.3dev1
- old
+ new
@@ -320,10 +320,10 @@
buf = ''
end
rescue OpenSSL::SSL::SSLError
# to wait i/o restart
sleep socket_interval
- rescue EOFError
+ rescue EOFError, Errno::ETIMEDOUT
log.warn "disconnected from #{@host}"
break
end
end
while @writing