tagomoris / fluent-plugin-secure-forward

Other
140 stars 30 forks source link

fix to rescue EBADF for broken/inconsistent SSL sessions #49

Closed tagomoris closed 5 years ago

tagomoris commented 7 years ago

Once SSL sessions went to inconsistent state by unstable networking, sending data into that SSLSocket may raise Errno::EBADF. Currently, it's not rescued, and broken socket/output_node instance remains @nodes, and makes further (unexpected) errors.

This change is to fix this problem.