diff --git a/src/common.hpp b/src/common.hpp index 883a0904d0..e121cf025b 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -58,7 +58,9 @@ namespace websocketpp { const uint64_t DEFAULT_MAX_MESSAGE_SIZE = 0xFFFFFF; // ~16MB - const size_t DEFAULT_READ_THRESHOLD = 512; + const size_t DEFAULT_READ_THRESHOLD = 1; // 512 would be a more sane value for this + + const bool DEFAULT_SILENT_CLOSE = false; // true const uint16_t DEFAULT_PORT = 80; const uint16_t DEFAULT_SECURE_PORT = 443;