aboutsummaryrefslogtreecommitdiffstats
path: root/worker/maildir/worker.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-06-05 17:49:46 +0200
committerRobin Jarry <robin@jarry.cc>2024-07-02 22:00:06 +0200
commit7a2372773ca870466029cf4137fde71082979a25 (patch)
treed5b9aad77b7bb6274ff37d66dc2c1f2e0fddfa61 /worker/maildir/worker.go
parent588776f42574567f907c190a5ff089256b21e598 (diff)
downloadaerc-7a2372773ca870466029cf4137fde71082979a25.tar.gz
jmap: do not keep invalid sessions in cache
If a session is found in the cache, check that it works by issuing a GetIdentities request. If that request fails, invalidate the cache and go through the authentication. Ensure that the session is valid and explicitly fail if it is not. Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'worker/maildir/worker.go')
0 files changed, 0 insertions, 0 deletions