git-annex/RemoteDaemon
Joey Hess 65e903397c
implementation of peer-to-peer protocol
For use with tor hidden services, and perhaps other transports later.

Based on Utility.SimpleProtocol, it's a line-based protocol,
interspersed with transfers of bytestrings of a specified size.

Implementation of the local and remote sides of the protocol is done
using a free monad. This lets monadic code be included here, without
tying it to any particular way to get bytes peer-to-peer.

This adds a dependency on the haskell package "free", although that
was probably pulled in transitively from other dependencies already.

This commit was sponsored by Jeff Goeke-Smith on Patreon.
2016-11-17 18:30:50 -04:00
..
Transport make LocalRepo a newtype 2016-06-02 16:34:52 -04:00
Common.hs make LocalRepo a newtype 2016-06-02 16:34:52 -04:00
Core.hs make LocalRepo a newtype 2016-06-02 16:34:52 -04:00
Transport.hs remotedaemon: Fixed support for notifications of changes to gcrypt remotes, which was never tested and didn't quite work before. 2015-03-16 15:28:29 -04:00
Types.hs implementation of peer-to-peer protocol 2016-11-17 18:30:50 -04:00