[zeromq-dev] [PATCH] Maximum message size
Mikael Helbo Kjær
mhk at designtech.dk
Tue Nov 9 08:34:51 CET 2010
Hi
I picked up on a suggestion in another list about the idea of adding maximum message sizes as a parameter to zmq and I whipped up a quick patch that is a First attempt at implementing this.
My idea for an solution was to add a check to the decoder_t object and adding another socket option for it which was then propagated to the decoder. I haven't done anything on the encoder with regards to handling maximum size yet as I was unsure if that was even an interesting option. I wanted to be liberal in what I could send and conservative in what I would receive. I wanted to send to the list to see if people had opinion if it was a good idea or not (both if it is needed or if it is done in the right place).
The patch was done against last night's master-branch.
Regards,
Mikael H. Kjaer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-maximum-message-size-and-a-socket-option-t.patch
Type: application/octet-stream
Size: 6097 bytes
Desc: 0001-Implement-maximum-message-size-and-a-socket-option-t.patch
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101109/be014c3b/attachment.obj>
More information about the zeromq-dev
mailing list