logstash-plugins / logstash-input-syslog

Apache License 2.0
37 stars 38 forks source link

Fix: errors on shutdown & reload #43

Closed yaauie closed 6 years ago

yaauie commented 6 years ago

When an open connection is closed, an exception is raised; depending on timing and internal details of Socket#each, this is one of two exceptions:

In either case, log that the connection has closed and squash the exception, allowing a graceful shutdown of the input.

Resolves: logstash-plugins/logstash-input-syslog#40

jordansissel commented 6 years ago

Tested manually w/ gem build. This works with central configuration. LGTM.

colinsurprenant commented 6 years ago

LGTMT

elasticsearch-bot commented 6 years ago

Ry Biesemeyer merged this into the following branches!

Branch Commits
master 7ccfc6d17f42315dbd7778f94d1d90f2dd087bec, b75992e33a7bb053a967df2da48570e7f83bbe53, c2c971524024766f90b5a54a4121fa0e7471e107