diff options
Diffstat (limited to 'common/Common.hpp')
-rw-r--r-- | common/Common.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/Common.hpp b/common/Common.hpp index ab4e1bdd7..09bafad37 100644 --- a/common/Common.hpp +++ b/common/Common.hpp @@ -25,12 +25,6 @@ constexpr int WS_SEND_TIMEOUT_MS = 1000; /// which can be 1500 bytes long. constexpr long READ_BUFFER_SIZE = 64 * 1024; -/// Size beyond which messages will be sent preceded with -/// 'nextmessage' frame to let the receiver know in advance -/// the size of the larger coming message. All messages up to, -/// but not including, this size are considered small messages. -constexpr int LARGE_MESSAGE_SIZE = READ_BUFFER_SIZE - 512; - /// Message larger than this will be dropped as invalid /// or as intentionally flooding the server. constexpr int MAX_MESSAGE_SIZE = 2 * 1024 * READ_BUFFER_SIZE; |