changeset 1569:44854fb5d3b2

plugin XEP-0065: fixed CHUNK_SIZE to 4096 to avoid wild disconnection by some proxies (Prosody's proxy65 disconnect if it receive bigger chunks)
author Goffi <goffi@goffi.org>
date Sun, 08 Nov 2015 14:44:33 +0100
parents 1f7a34d499e0
children 37d4be4a9fed
files src/plugins/plugin_xep_0065.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py	Sun Nov 08 14:44:33 2015 +0100
+++ b/src/plugins/plugin_xep_0065.py	Sun Nov 08 14:44:33 2015 +0100
@@ -273,6 +273,7 @@
 
 
 class SOCKSv5(protocol.Protocol, FileSender):
+    CHUNK_SIZE = 4096
 
     def __init__(self, session_hash=None):
         """