diff options
Diffstat (limited to 'client_ws.hpp')
-rw-r--r-- | client_ws.hpp | 2 |
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; |