[Twisted-Python] telnet works, why wont this client/protocol test?

Augusto Mecking Caringi augustocaringi at gmail.com
Thu Jan 12 13:06:16 EST 2012

On Thu, Jan 12, 2012 at 3:56 PM, Mike Winter <miwinter at cisco.com> wrote:
> That helps, thanks.
> I know that http processing does \r\n, I suppose there is an rfc that says this is reasonable, and LineReceiver is designed to be used in http for the same reason.

"Most textual Internet protocols (including HTTP, SMTP, FTP, IRC and
many others) mandate the use of ASCII CR+LF (0x0D 0x0A) on the
protocol level, but recommend that tolerant applications recognize
lone LF as well."



> On Jan 12, 2012, at 4:42:45AM, Itamar Turner-Trauring wrote:
>> At a guess, it's because by default LineReceiver splits on '\r\n', but
>> you're sending only '\n'.
>> -Itamar

Augusto Mecking Caringi

More information about the Twisted-Python mailing list