[zeromq-dev] Disconnect appears not to respect linger

Pieter Hintjens pieterh at gmail.com
Fri Jul 5 19:45:36 CEST 2013

I think they should respect linger, on all transports, since that's what
you'd expect, but it may be hard to implement.
On Jul 5, 2013 5:27 PM, "Christian Kamm" <kamm at incasoftware.de> wrote:

> On 07/04/2013 11:47 AM, Ben Gray wrote:
> > It appears that disconnect, and unbind, discard all pending messages
> > instantly unlike when closing a socket any pending data will wait for
> > the linger setting before being discarded.
> >
> > Is this the expected behaviour, in which case I recommend we update the
> > documentation to mention it, or is this a bug?
> I'd like to second this question, in particular since the behavior seems
> to be the opposite for inproc connections - there disconnect lingers
> indefinitely regardless of the ZMQ_LINGER variable.
> The desired behavior is that disconnect and unbind respect the linger
> setting?
> Cheers,
> Christian
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130705/86efbfb9/attachment.htm>

More information about the zeromq-dev mailing list