plugin XEP-0065: fixed CHUNK_SIZE to 4096 to avoid wild disconnection by some proxies (Prosody's proxy65 disconnect if it receive bigger chunks)

This commit is contained in:
Goffi 2015-11-08 14:44:33 +01:00
commit a629197419

View file

@ -273,6 +273,7 @@ def getSessionHash(from_jid, to_jid, sid):
class SOCKSv5(protocol.Protocol, FileSender):
CHUNK_SIZE = 4096
def __init__(self, session_hash=None):
"""