On 27/06/2018 12:16, Michal Privoznik wrote: > Also, can we emit this earlier? For instance at the two places where we > unset pr_mgr->ioc: > > With your approach the event is emitted only after the 5 reconnect > attempts (which makes little sense IMO). With my approach the event is > emitted a bit sooner so that reconnect has at least chance of > succeeding.
Much better, yes. I included your change. Paolo