Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] EncodingLimits for the incoming byte array

It's sort of from the spec. There are Nodes in the address space of a server that can be configured to give a hint about the MaxArrayLength and MaxStringLength the server supports (properties of ServerCapabilitiesType). These configured values are also often used by stacks as sanity checks while encoding or decoding to ensure that huge arrays don't get allocated and cause out of memory conditions.

On Thu, Aug 15, 2019 at 3:43 AM Joe San <codeintheopen@xxxxxxxxx> wrote:
Is there anywhere in the specification it is said about the encoding limits? I see that in milo there is this constant check of encoding limits. Is this from the spec?
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top