[zeromq-dev] Closed dealer socket may cause context termination to hang

Michi Henning michi at triodia.com
Thu Nov 6 14:28:15 CET 2014

On 6 Nov 2014, at 19:59 , Pieter Hintjens <ph at imatix.com> wrote:

> Good idea. Let me try that... OK, I've added a warning to the
> zmq_ctx_term man page.

Thanks for that!

> The default behavior is so unhelpful that we might consider changing
> it. E.g. change the default linger on sockets from infinity to e.g. 5
> seconds.

I agree. There *might* be some applications that depend on the infinite linger time in some cases, but I would expect those to be very rare.
Calling the current behavior "unhelpful" is being charitable, I think :-)


More information about the zeromq-dev mailing list