Did not handle case where packet boundaries split a body from its line terminator exactly. Line terminator not consumed, nor anything past it. For example:
OK 5\r\n12345
\r\nDELETED 10\r\n
Considerably simplified multi-packet reading and body-extraction logic.
Did not handle case where packet boundaries split a body from its line terminator exactly. Line terminator not consumed, nor anything past it. For example:
Considerably simplified multi-packet reading and body-extraction logic.