mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Apply Nemo's feedback
This commit is contained in:
@@ -17,7 +17,8 @@ static const char *const WEBSOCKET_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
|
||||
|
||||
// Sanity cap on a single message's total size, so a client can't crash us by simply
|
||||
// claiming an enormous frame length before sending any actual data.
|
||||
static constexpr uint64_t MAX_WS_MESSAGE_SIZE = 64 * 1024 * 1024;
|
||||
// TODO: Make configurable?
|
||||
static constexpr uint64_t MAX_WS_MESSAGE_SIZE = 128 * 1024 * 1024;
|
||||
|
||||
namespace net {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user