diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-04-30 01:08:58 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-05-04 14:07:15 +0200 |
commit | b29293d7b53c73629911ec75b2ec5954d365feed (patch) | |
tree | 78c31ee55d9fce81007fb3c436b8241fb3ed14f5 /commands/global.go | |
parent | b92efe4cd944c97bf8310ca47d4edbef968cfaae (diff) | |
download | aerc-b29293d7b53c73629911ec75b2ec5954d365feed.tar.gz |
imap: add timeout to tcp connect functions
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>
Diffstat (limited to 'commands/global.go')
0 files changed, 0 insertions, 0 deletions