aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/gpg/gpg.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-04-30 01:08:58 +0200
committerRobin Jarry <robin@jarry.cc>2022-05-04 14:07:15 +0200
commitb29293d7b53c73629911ec75b2ec5954d365feed (patch)
tree78c31ee55d9fce81007fb3c436b8241fb3ed14f5 /lib/crypto/gpg/gpg.go
parentb92efe4cd944c97bf8310ca47d4edbef968cfaae (diff)
downloadaerc-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 'lib/crypto/gpg/gpg.go')
0 files changed, 0 insertions, 0 deletions