andris9/simplesmtp — pull request #42 by dannycoates (2013-08-20 23:04:52+00:00)
Title: Client parser hangs on certain input

When parsing the EHLO response if the data arrives in specific chunks the client will "hang" and never emit 'idle'.

Here's an example that produces the bug: https://gist.github.com/dannycoates/6286979

It should print 'ok' and exit, but it does not.