lib/fluent/plugin/input_session.rb in fluent-plugin-secure-forward-0.1.1 vs lib/fluent/plugin/input_session.rb in fluent-plugin-secure-forward-0.1.2

- old
+ new

@@ -184,9 +184,11 @@ rescue EOFError => e $log.debug "Connection closed from '#{host}'(#{ipaddr})" break end end + rescue Errno::ECONNRESET => e + # disconnected from client rescue => e $log.warn "unexpected error in in_secure_forward", :error_class => e.class, :error => e ensure self.shutdown end