Fixes #293: added workaround for MSVC max bug

This commit is contained in:
eidheim 2020-04-03 11:10:40 +02:00
commit ebeafc989e
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ namespace SimpleWeb {
long timeout_connect = 0;
/// Maximum size of response stream buffer. Defaults to architecture maximum.
/// Reaching this limit will result in a message_size error code.
std::size_t max_response_streambuf_size = std::numeric_limits<std::size_t>::max();
std::size_t max_response_streambuf_size = (std::numeric_limits<std::size_t>::max)();
/// Set proxy server (server:port)
std::string proxy_server;
};