Ben Cotterell 8d5b22bd09 Don't expect trailing space on command completion
While trying to see why I couldn't get my emails from an Exchange server
I found this:

[imap]: 41:31.42 someserver.com handler _put_response(IOMC1 OK)
[imap]: 41:31.42 someserver.com handler unexpected response: 'IOMC1 OK'

And shortly after that the connection was closed. IOMC1 is just the
unique tag for the session.

The pattern looks for the tag, a number, a word like "OK" or something,
*then a space*, then optionally some data.

If the data aren't there it shouldn't be expecting a space.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2019-06-18 23:04:26 +02:00
..
2018-05-18 02:10:56 +02:00
2019-06-08 11:32:57 +02:00
2019-04-27 14:56:17 +02:00
2015-01-07 21:31:43 +01:00
2019-06-10 14:36:53 +02:00
2018-05-01 16:21:57 +02:00
2016-07-28 00:42:35 +02:00
2016-11-08 07:11:33 +01:00