Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'client_ws.hpp')
-rw-r--r--client_ws.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_ws.hpp b/client_ws.hpp
index 3c9679e..a892149 100644
--- a/client_ws.hpp
+++ b/client_ws.hpp
@@ -267,7 +267,7 @@ namespace SimpleWeb {
long timeout_idle = 0;
/// Maximum size of incoming messages. Defaults to architecture maximum.
/// Exceeding this limit will result in a message_size error code and the connection will be closed.
- std::size_t max_message_size = std::numeric_limits<std::size_t>::max();
+ std::size_t max_message_size = (std::numeric_limits<std::size_t>::max)();
/// Additional header fields to send when performing WebSocket upgrade.
/// Use this variable to for instance set Sec-WebSocket-Protocol.
CaseInsensitiveMultimap header;