[zeromq-dev] I'm losing messages doing 2 way heartbeat checks (MinRK)
mgiedt at gmail.com
Mon May 23 16:20:03 CEST 2011
> I think you might be getting caught up with the fact that zmq FD
> events are edge-triggered. When you have a handler registered for a
> POLLIN event, it must handle *all* available incoming messages,
> otherwise if you have multiple incoming messages ready at the same
> time, you will only handle one of them and your inbox will start to
> grow each time this happens.
I don't see EPOLLET being set in epoll.cpp, and the epoll man page says that
level-trigger is the default.
What am I missing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev