reiseburo/hotdog

A single failed log line causes a disconnect

rtyler opened this issue · 0 comments

the read_logs function will bubble up errors on parsing the logs and cause the connection to drop.

echo  '<13>1 2020-04-18T15:16:09.956153-07:00 coconut tyler - - [timeQuality tzKnown="1" isSynced="1" syncAccuracy="505061"] hello world\nfoo\n<13>1 2020-04-18T15:16:09.956153-07:00 coconut tyler - - [timeQuality tzKnown="1" isSynced="1" syncAccuracy="505061"] hidy ho' | openssl s_client -connect 127.0.0.1:6514