Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | imap: add timeout to tcp connect functions | Koni Marti | 2022-05-04 | 1 | -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> |