On Sun, Jan 27, 2013 at 2:46 AM, Will Moss <[email protected]> wrote: > I'm using the same client identity to demonstrate the point that the ROUTER > socket cannot possibly be removing the routing information when the client > disconnects, since when it reconnects later, the data is still buffered and > ready to be sent out.
Duplicate identities are handled by one of the connections getting a generated identity. OK, here's a test case that creates lots of connections to stress a router socket. https://gist.github.com/4653946 - create dealer socket - connect and send message - wait for reply - destroy dealer socket - repeat indefinitely When you run it you can see memory use doesn't grow (as far as I can tell). -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
