Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
e85e1f08 by lovetox at 2021-12-15T19:28:33+01:00
Websocket: Set max incoming payload size
Currently most servers have a stanza size limit around 256 - 512 kb
- - - - -
1 changed file:
- nbxmpp/websocket.py
Changes:
=====================================
nbxmpp/websocket.py
=====================================
@@ -77,6 +77,7 @@ class WebsocketConnection(Connection):
return
self._websocket.set_keepalive_interval(5)
+ self._websocket.set_max_incoming_payload_size(1048576)
self._websocket.connect('message', self._on_websocket_message)
self._websocket.connect('closed', self._on_websocket_closed)
self._websocket.connect('closing', self._on_websocket_closing)
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/e85e1f084419d1d40c4eb9f21af790e00bc1254a
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/e85e1f084419d1d40c4eb9f21af790e00bc1254a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits