On Mon, Jul 8, 2013 at 8:22 AM, Ben Gray <[email protected]> wrote: > On 7 July 2013 20:03, Martin Hurton <[email protected]> wrote: > >> Hi Ben, I wonder if unbind should close any connections at all. The >> man page says it just closes the listener, not connections accepted by >> that listener. >> I think disconnect should respect the linger value. >> >> > Took a while poking at this - as far as I can see everything respects the linger. The issue seems to be that pipe termination happens from the session rather than the socket side, which causes an instant shutdown. I've bodged the pipe into the endpoints map, and terminated it if available. Passes tests and Ben's test case, but no guarantees or elegance or no weirder bugs :) PR - https://github.com/zeromq/libzmq/pull/627 (comments welcome!)
Ian
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
