You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading from TCP, we abort and close the connection if any line does not fit into the bufio.Reader buffer. This is really not necessary, and the standard library has higher-level methods to reliably read lines from a stream.
Any solution should make sure to process the last line in the stream, even if it does not end in a newline.
The text was updated successfully, but these errors were encountered:
@matthiasr I just encountered this I think :)
Sending from Logstash's statsd output plugin.
BTW, I get the long line no matter how high I set statsd.read-buffer
When reading from TCP, we abort and close the connection if any line does not fit into the bufio.Reader buffer. This is really not necessary, and the standard library has higher-level methods to reliably read lines from a stream.
Any solution should make sure to process the last line in the stream, even if it does not end in a newline.
The text was updated successfully, but these errors were encountered: