"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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user