mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Increase maximum frame size for incoming websocket messages
This commit is contained in:
@@ -172,7 +172,9 @@ function _createSocket(
|
||||
};
|
||||
}
|
||||
|
||||
return new WebSocket(url, undefined, undefined, undefined, requestOptions);
|
||||
return new WebSocket(url, undefined, undefined, undefined, requestOptions, {
|
||||
maxReceivedFrameSize: 0x210000,
|
||||
});
|
||||
}
|
||||
|
||||
const FIVE_MINUTES = 1000 * 60 * 5;
|
||||
|
||||
Reference in New Issue
Block a user