From b09ce4c6504f4616c1dd38cfed16cc2d3c90e980 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 13 Jun 2019 21:24:53 +0200 Subject: [PATCH] Lowered class registration frame size to fix potential UDP issues --- src/dorkbox/network/connection/RegistrationWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dorkbox/network/connection/RegistrationWrapper.java b/src/dorkbox/network/connection/RegistrationWrapper.java index d74b52e7..fb10cf69 100644 --- a/src/dorkbox/network/connection/RegistrationWrapper.java +++ b/src/dorkbox/network/connection/RegistrationWrapper.java @@ -337,7 +337,7 @@ class RegistrationWrapper { // it is too large to send in a single packet // child arrays have index 0 also as their 'index' and 1 is the total number of fragments - byte[][] fragments = divideArray(details, 480); + byte[][] fragments = divideArray(details, 400); if (fragments == null) { logger.error("Too many classes have been registered for Serialization. Please report this issue");