[zeromq-dev] [PATCH] multiple properties exchanged on connection initiation
Martin Sustrik
sustrik at 250bpm.com
Mon Apr 4 09:56:40 CEST 2011
On 04/04/2011 09:23 AM, Ian Barber wrote:
> Good idea! Is the plan for all properties to be in sent in one message
> when starting the connection, or over several?
Currently it's one multipart message. One property per message part.
> Just wondering if it's
> worth having something saying number of properties in this message up
> front, so that if we do have a max limit on the message size there isn't
> a way people can work around it by sending a whole load of properties to
> DOS a service.
Setting a limit on size makes sense.
Also, checking for duplicit and/or unknown properties and dropping the
connection in such case may help.
Martin
More information about the zeromq-dev
mailing list