On 10.7.2013, at 19.10, Gedalya <geda...@gedalya.net> wrote:

> On 07/10/2013 02:49 AM, Timo Sirainen wrote:
>> I think imapc automatically reconnects and retries the command. In any case 
>> you should retry if dsync returns non-zero exit code.
>> 
>> (The I/O and timeout leaks don't really matter, but they are also finally 
>> fixed in v2.2.3+.)
> Yes, I already adjusted the calling code (massive perl script) to ignore the 
> leak messages, and of course look at the exit code.
> So, you're saying impac reconnects. I guess there is doing to be an error on 
> top of "Server disconnected unexpectedly" if there was something 
> irrecoverable. So can I just code that in? Or should I look only at the exit 
> code? I'm being paranoid here, I know..

Exit code 0 should be enough (if not, it's a bug and I'd like to know), but 
it's good to be paranoid. :)

Reply via email to