"Not-a-first segmented message" is a critical error

Let's try to scare users into reporting it more promptly.
This commit is contained in:
Michael Davidsaver
2017-11-15 19:37:17 -06:00
parent 8a208c5aaa
commit 2f0bb7d448

View File

@@ -197,8 +197,8 @@ void AbstractCodec::processReadNormal() {
if (_payloadSize == 0) if (_payloadSize == 0)
continue; continue;
LOG(logLevelWarn, LOG(logLevelError,
"Not-a-first segmented message received in normal mode" "Protocol Violation: Not-a-first segmented message received in normal mode"
" from the client at %s:%d: %s, disconnecting...", " from the client at %s:%d: %s, disconnecting...",
__FILE__, __LINE__, inetAddressToString(*getLastReadBufferSocketAddress()).c_str()); __FILE__, __LINE__, inetAddressToString(*getLastReadBufferSocketAddress()).c_str());
invalidDataStreamHandler(); invalidDataStreamHandler();