mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-309 added code to better reject third party connections which turn out not to be chronicle.
This commit is contained in:
@@ -309,7 +309,7 @@ final class SerializationBuilder<E> implements Cloneable, Serializable {
|
||||
}
|
||||
// set max size once more, because current maxSize could be x64 or x2 larger than needed
|
||||
maxSize(constantSize);
|
||||
sizeMarshaller(SizeMarshallers.constant(constantSize));
|
||||
sizeMarshaller(net.openhft.chronicle.hash.serialization.SizeMarshallers.constant(constantSize));
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user