[erlang-questions] managing OS processes

Jack Moffitt <>
Tue May 29 18:13:08 CEST 2012


> over JSON than over a binary message. (BTW I use the `packet` Erlang
> message framing `4 bytes length + payload`.)

I have been using {packet, 2}. What happens when (via bad data or
malicious intent) someone sends you 0xffffffff as the message size? Is
there some way I haven't noticed to set a maximum allowed length on
{packet, 4} packets?

jack.



More information about the erlang-questions mailing list