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:
authoreidheim <eidheim@gmail.com>2020-04-03 12:13:22 +0300
committereidheim <eidheim@gmail.com>2020-04-03 12:13:22 +0300
commit4c8c21cb5943b7272e88ffef1649a1dd72b89852 (patch)
treeec575daf1a57ea36eca7d5e075148dcca20e0dcb /server_ws.hpp
parent64ac62617e809d553a902b0a7c8e3e8e308a8284 (diff)
Added workarounds for various Windows/MSVC issues
Diffstat (limited to 'server_ws.hpp')
-rw-r--r--server_ws.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_ws.hpp b/server_ws.hpp
index 96205dc..e91a479 100644
--- a/server_ws.hpp
+++ b/server_ws.hpp
@@ -325,7 +325,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 handshake.
CaseInsensitiveMultimap header;
/// IPv4 address in dotted decimal form or IPv6 address in hexadecimal notation.