mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-20 07:46:05 -04:00
Add log
This commit is contained in:
parent
a8d221162a
commit
538751b9da
@ -686,9 +686,14 @@ public class Connection implements MessageListener {
|
||||
|
||||
|
||||
// First we check the size
|
||||
if (size > getMaxMsgSize() && reportInvalidRequest(RuleViolation.MAX_MSG_SIZE_EXCEEDED))
|
||||
boolean exceeds = size > getMaxMsgSize();
|
||||
if (exceeds)
|
||||
log.warn("size > MAX_MSG_SIZE. size=" + size);
|
||||
|
||||
if (exceeds && reportInvalidRequest(RuleViolation.MAX_MSG_SIZE_EXCEEDED))
|
||||
return;
|
||||
|
||||
|
||||
// Then we check if data is of type Serializable (objectInputStream supports
|
||||
// Externalizable objects as well)
|
||||
Serializable serializable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user