elasticsearch/logstash — pull request #1686 by zecrazytux (2014-09-02 14:28:03+00:00)
Title: Read socket line by line

The documentation states:
"Like stdin and file inputs, each event is assumed to be one line of text."

However the current implementation does not honour that by using readpartial()
without any line delimiter splitting afterwards.
Why not using gets() instead ?