[zeromq-dev] [PATCH] Scalability improvements for large amounts of connections

Martin Sustrik sustrik at 250bpm.com
Thu Oct 14 18:23:25 CEST 2010


On 10/14/2010 06:19 PM, Martin Lucina wrote:

>> This could throw a SIGFPE (floating point exception).
>> Do we check for reconnect_period>  0?
>
> No, but if you set reconnect_period to 0 then any number of things will
> break. I'd not worry about that too much; changing stuff in config.hpp is
> something 90% or more people will never touch.

What about checking the validity of compile time settings using asserts 
as a first thing to do in zmq_init?

It's even possible to check it at compile-time but then the error 
messages are not really helpful.

Martin



More information about the zeromq-dev mailing list