Hi,

I'm trying to fix the FD leaks in router sockets with HANDOVER.

This happens in

    zmq::router_t::identify (pipe_t *pipe_, bool locally_initiated_)

right at the end with a call to

    old_pipe->terminate (true);

This terminates the obsolete old_pipe. But it does nothing to the peer
of that pipe, which actually holds the underlying socket FD. The FD is
then ignored and not closed until the router socket gets closed.


My question now is: How do I get the peer of old_pipe to terminate?

MfG
    Goswin
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to