mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Use MAX_MSG_SIZE_GET_DATA for GetDataRequest
This commit is contained in:
parent
ab01e97ddc
commit
56db98b788
1 changed files with 1 additions and 1 deletions
|
@ -786,7 +786,7 @@ public class Connection implements MessageListener {
|
|||
|
||||
// First we check the size
|
||||
boolean exceeds;
|
||||
if (rawInputObject instanceof GetDataResponse) {
|
||||
if (rawInputObject instanceof GetDataResponse || rawInputObject instanceof GetDataRequest) {
|
||||
exceeds = size > MAX_MSG_SIZE_GET_DATA;
|
||||
log.info("size={}; object={}", size, Utilities.toTruncatedString(rawInputObject.toString(), 100));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue