datalust / seq-input-gelf

Ingest GELF payloads into Seq
https://datalust.co/seq
Apache License 2.0
15 stars 8 forks source link

Handle client hangups more gracefully #108

Closed KodrAus closed 2 years ago

KodrAus commented 2 years ago

Closes #107

For our TLS streams with tokio-rustls, if a client connection doesn't hang up gracefully we end up with errors being logged, even though the errors come from the client itself closing its connection. I've wrapped our TLS stream so we ignore these cases specifically there, rather than further up the stack so if we EOF in the middle rather than the end of it we should still see something.