beginnings of download implementation

This commit is contained in:
DecDuck
2024-10-12 17:34:09 +11:00
parent 328b9ba46c
commit 8674ac7211
5 changed files with 62 additions and 12 deletions

View File

@ -1,5 +1,8 @@
# Drop Download System
The Drop download system uses a torrent-*like* system. It is not torrenting, nor is it compatible with torrenting clients.
Drop downloads come in two types:
## Clients
Drop clients have built-in HTTP APIs that they forward with UPnP. This API exposes different capabilities for different Drop features, like download aggegration and P2P networking. When they sign on, they send a list of supported capabilities to the server.
## Public (not quite) HTTPS downloads endpoints
These use public HTTPS certificate, and while are authenticated, are 'public' in the sense that they aren't P2P; anyone can connect to them
## Private mTLS P2P endpoints
Drop clients use P2P mTLS aided by the P2P co-ordinator to transfer chunks between themselves.