Skip to content

ei: remove the source if we get disconnected

If we get disconnected there's no point sending anything anymore, the server may have already closed the connection.

Otherwise this produces a confusing warning in the log:

18:37:31 | INFO | Disconnected by EIS ... | WARN | failed to send message: Broken pipe

See !262 (comment 2132619)

cc @pnowack

Merge request reports