c89611ebd3 net: Log to net category for exceptions in ProcessMessages (Wladimir J. van der Laan)
Pull request description:
Backport of #17762, currently only backported to 0.19.
This seems like something we should opportunistically plug in case wiseguys decide it's a vector to exploit to try and fill people's disks.
ACKs for top commit:
practicalswift:
ACK c89611ebd3
MarcoFalke:
ACK c89611ebd3, checked that this is a cherry-pick from 0.19 💐
Tree-SHA512: e48daf64a14d98a78cadd0774a597e5833a1ff19f05527dfc42f3cc38532c1c3bd1acd925c8e0c484e01fbc8c604ee2bcfc0cec0333e9af570b103a6241b657d
// Allow exceptions from under-length message on vRecv
LogPrint(BCLog::NET,"%s(%s, %u bytes): Exception '%s' caught, normally caused by a message being shorter than its stated length\n",__func__,SanitizeString(strCommand),nMessageSize,e.what());