[zeromq-dev] I'm losing messages doing 2 way heartbeat checks (MinRK)
Matthew Giedt
mgiedt at gmail.com
Mon May 23 16:20:03 CEST 2011
> Hi,
>
> 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?
Regards,
-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110523/a87c58fa/attachment.htm>
More information about the zeromq-dev
mailing list