summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2020-05-12 01:03:50 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2020-05-12 01:03:50 +0200
commit4aa35c11abbd4f2ee5e379a097de981207800193 (patch)
tree98e4702538a4bc93e64bd3b807ed0b6abc8a18ca
parentd6f7d32bbe495533f68d91c83a1666e76a30dc84 (diff)
downloadslixmpp-4aa35c11abbd4f2ee5e379a097de981207800193.tar.gz
slixmpp-4aa35c11abbd4f2ee5e379a097de981207800193.tar.bz2
slixmpp-4aa35c11abbd4f2ee5e379a097de981207800193.tar.xz
slixmpp-4aa35c11abbd4f2ee5e379a097de981207800193.zip
xep_0363: Ensure every form in disco#info is read
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--slixmpp/plugins/xep_0363/http_upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0363/http_upload.py b/slixmpp/plugins/xep_0363/http_upload.py
index 266fc656..7b9ccc7d 100644
--- a/slixmpp/plugins/xep_0363/http_upload.py
+++ b/slixmpp/plugins/xep_0363/http_upload.py
@@ -116,7 +116,7 @@ class XEP_0363(BasePlugin):
except (TypeError, ValueError):
log.error('Invalid max size received from HTTP File Upload service')
self.max_file_size = float('+inf')
- break
+ break
if input_file is None:
input_file = open(filename, 'rb')