fluent / NLog.Targets.Fluentd

Apache License 2.0
44 stars 31 forks source link

Fixed TCP-Client re-connection after socket disconnects #6

Closed dorzeidman closed 6 years ago

dorzeidman commented 7 years ago

If the TCP client disconnected the EnsureConnected client.Connected will be false but it want be able to connect because the socket wasn't cleaned. I changed it so I cleanup the connection and reinitialized the TCPClient object from the start.