nagios-plugins/nagios-plugins — pull request #65 by juliopedreira (2013-09-10 08:12:27+00:00)
Title: Bugfix: don't close connection if received bytes are less than buffer size

Closing the connection because the bytes received are less than the buffer size assumes that all the bytes will be received in one go. This is not always true!

That behaviour is buggy, as discused with Holger Weiß.