[Twisted-Python] telnet works, why wont this client/protocol test?
miwinter at cisco.com
Thu Jan 12 13:20:24 EST 2012
Thanks for the link, added to code as comment.
On Jan 12, 2012, at 10:06:16AM, Augusto Mecking Caringi wrote:
> 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'.
> Augusto Mecking Caringi
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python