twisted.spread.banana.setPrefixLimit(limit)
function documentationtwisted.spread.banana
View Source
Set the limit on the prefix length for all Banana connections established after this call.
The prefix length limit determines how many bytes of prefix a banana decoder will allow before rejecting a potential object as too large.
Parameters | limit | The number of bytes of prefix for banana to allow when decoding. (type: int ) |