aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/connect.go
Commit message (Collapse)AuthorAgeFilesLines
* imap: add timeout to tcp connect functionsKoni Marti2022-05-041-0/+178
Extract the tcp connection details and timeout the tcp connect functions (net.ResolveTCPAddr and net.DialTCP). If timed out, ensure that the connection is properly closed. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>