diff options
author | Robin Jarry <robin@jarry.cc> | 2021-12-06 23:53:39 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-14 21:17:40 +0100 |
commit | c605ada3ddc7569ebfc153b07db12a21b30d0569 (patch) | |
tree | 7c7ef223842521d131cbf08e699cdba76eb9da3f /completer | |
parent | 6f8c167e2782cb4447f36f0a9415a0fd1482b027 (diff) | |
download | aerc-c605ada3ddc7569ebfc153b07db12a21b30d0569.tar.gz |
imap: attempt automatic reconnection on error
Attempt to reconnect to the server when there is an unexpected
disconnection or network error.
Use the Client.LoggedOut() channel which is closed when the connection
is closed.
This patch is rather flaky and is certainly bugged. However, it is
a start.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'completer')
0 files changed, 0 insertions, 0 deletions