git-annex/Remote
Joey Hess dca19099a9
async exception safety
Masking ensures that EndStderrHandler gets written, so the helper
threads shut down.

However, nothing currently guarantees that calls to closeP2PSshConnection
are async exception safe, so made a note about it.

At this point, I've audited all calls to async, and made them all async
exception safe, except for ones in the assistant, and a few in leaf
commands (remotedaemon, enable-tor, multicast, p2p) which don't need to
be.
2020-06-05 14:56:41 -04:00
..
Directory make storeKey throw exceptions 2020-05-13 14:03:00 -04:00
External add LISTCONFIGS to external special remote protocol 2020-01-17 16:07:17 -04:00
Helper async exception safety 2020-06-05 14:56:41 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync fix windows build 2020-01-01 14:27:03 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
BitTorrent.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Bup.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
Ddar.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
Directory.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
External.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
GCrypt.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Git.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
GitLFS.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Glacier.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
Hook.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
List.hs auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
P2P.hs make retrieveKeyFile and retrieveKeyFileCheap throw exceptions 2020-05-13 17:07:07 -04:00
Rsync.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
S3.hs fix embedcreds=yes reversion 2020-05-21 14:35:30 -04:00
Tahoe.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Web.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
WebDAV.hs fix embedcreds=yes reversion 2020-05-21 14:35:30 -04:00