From 2f0bb7d44882a36ade2eb48947aeca7eef69f575 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 15 Nov 2017 19:37:17 -0600 Subject: [PATCH] "Not-a-first segmented message" is a critical error Let's try to scare users into reporting it more promptly. --- src/remote/codec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote/codec.cpp b/src/remote/codec.cpp index 3c1dda0..0311ecc 100644 --- a/src/remote/codec.cpp +++ b/src/remote/codec.cpp @@ -197,8 +197,8 @@ void AbstractCodec::processReadNormal() { if (_payloadSize == 0) continue; - LOG(logLevelWarn, - "Not-a-first segmented message received in normal mode" + LOG(logLevelError, + "Protocol Violation: Not-a-first segmented message received in normal mode" " from the client at %s:%d: %s, disconnecting...", __FILE__, __LINE__, inetAddressToString(*getLastReadBufferSocketAddress()).c_str()); invalidDataStreamHandler();