March 14, 2008
1:14 a.m.
On 3/13/08, Iago Toral <itoral@igalia.com> wrote:
This tool works mostly ok, except that after some minutes working properly redirecting several dozens of messages correctly, the Demux breaks (on reception of a normal incoming message) with the following error message:
TCP is not a message oriented protocol. It will not preserve message borders. dataReceived may get called with any amount of bytes from the incoming stream, not just the amount you expect. You probably want something like twisted.protocols.basic.NetstringReceiver to delimit messages for you.