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:
parent
5e356f28f0
commit
a629197419
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue