Commit e85e1f08 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Websocket: Set max incoming payload size

Currently most servers have a stanza size limit around 256 - 512 kb
parent 22aaefb2
Pipeline #8737 failed with stages
in 27 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment