git-annex/RemoteDaemon
Joey Hess a6f8248465
add connProcess to P2PConnection
When using the new generic P2P transport to open an outgoing connection
to a peer, this will hold the pid of the git-annex-p2p-<netname>
command.

closeConnection simply waits for it. Rather than relying on garbage
collection of the closed handles to close it.

In Remote.Helper.Ssh, connProcess is set to Nothing, even though there
is a similar process being used there. That code stores the pid in
OpenConnection instead, and handles waiting for it itself. A bit ugly,
but not worth cleaning up at this point, maybe later.
2025-07-30 12:35:16 -04:00
..
Transport add connProcess to P2PConnection 2025-07-30 12:35:16 -04:00
Common.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Core.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Transport.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Types.hs remove unused import 2023-08-28 12:35:57 -04:00