How do I set the Netstring MAX_LENGTH in txjsonrpc.netstring.jsonrpc.QueryProtocol?

Created by Duncan McGreggor
Keywords:

Support for easily overriding the MAX_LENGTH attribute on the Twisted NetstringReceiver class was added in txJSON-RPC 0.3 (see bug #454335; http://bugs.launchpad.net/landscape/+bug/454335). Until that, it was only possible with some monkeypatching.