log Protocol decode fault as CRIT

This commit is contained in:
Michael Davidsaver committed 2026-07-21 08:58:29 -05:00
1 parent cc7bc72dd7
commit b552fe9520
1 file changed
+1 -1
+1 -1
View File
@@ -158,7 +158,7 @@ void ConnBase::bevRead()
if(header[0]!=0xca || header[1]==0
|| (isClient ^ !!(header[2]&pva_flags::Server))) {
log_hex_printf(connio, Level::Err, header, sizeof(header),
log_hex_printf(connio, Level::Crit, header, sizeof(header),
"%s %s Protocol decode fault. Force disconnect.\n", peerLabel(), peerName.c_str());
bev.reset();
break;