aboutsummaryrefslogtreecommitdiffstats
path: root/worker/jmap/push.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-06-20 11:07:11 -0500
committerRobin Jarry <robin@jarry.cc>2023-06-20 23:16:25 +0200
commit08a0b5cbe56a8b64759282132e3dc304d24e4e7a (patch)
tree3c6ab813736b1793ba3e08ff62634af7a1432a9e /worker/jmap/push.go
parent33dbaebb71dcd7a10242740619b47a80818d7fa4 (diff)
downloadaerc-08a0b5cbe56a8b64759282132e3dc304d24e4e7a.tar.gz
imap: implement cancellation of opening dir and listing contents
Check for a cancelled context when opening a directory, and before+after fetching directory contents/threads. Clean up the nesting of fetchDirectoryContents by using what we already know about server capabilities and using a switch statement. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/jmap/push.go')
0 files changed, 0 insertions, 0 deletions