go-imap
go-imap copied to clipboard
Is there any way to setup auto reconnect when tcp disconnect
im using proxy on my local codes, tcp will be closed when proxy server change. so is there any way to solve it?
this error encounter in select method.
i think c.conn.Writer conn has been closed by server
the conn of the client is easy to disconnet if the network is unstable. i didn't find any issue talk about it. im very appreciate it if anyone can provide idea to fix it.
You'll need to handle the reconnect logic yourself. The library won't auto-reconnect.