An interesting shutdown race in messaging
abartlet at samba.org
Tue Jun 13 19:54:49 UTC 2017
On Tue, 2017-06-13 at 09:30 -0700, Jeremy Allison wrote:
> On Tue, Jun 13, 2017 at 09:15:33AM -0700, Jeremy Allison via samba-technical wrote:
> > So what you need is a 'drain_sent_messages' kind of function,
> > that will block until all pending messages are flushed out of
> > the system or the receiver disconnects, or an error send gets
> > and error - yes ?
> Hmmm. I think this could go inside of imessaging_cleanup()
> in source4. That seems to be called in all the right places
> and suggests it should do the right thing (currently it
> does nothing).
Yes, that is exactly what I need.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical